Skip to content

Commit 60bc30d

Browse files
committed
remove repetitive words
Signed-off-by: cuinix <[email protected]>
1 parent 716c6dd commit 60bc30d

File tree

15 files changed

+21
-21
lines changed

15 files changed

+21
-21
lines changed

batch/interface.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func LazyAdd() SchedulerOption {
4848
// set of Requests, executes them, and returns the error from the operation.
4949
type Scheduler interface {
5050
// Execute schedules a Request for execution with the next available
51-
// batch. This method blocks until the the underlying closure has been
51+
// batch. This method blocks until the underlying closure has been
5252
// run against the database. The resulting error is returned to the
5353
// caller.
5454
Execute(req *Request) error

cert/tls.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func LoadCert(certPath, keyPath string) (tls.Certificate, *x509.Certificate,
5757
return tls.Certificate{}, nil, err
5858
}
5959

60-
// Now parse the the PEM block of the certificate into its x509 data
60+
// Now parse the PEM block of the certificate into its x509 data
6161
// structure so it can be examined in more detail.
6262
x509Cert, err := x509.ParseCertificate(certData.Certificate[0])
6363
if err != nil {
@@ -82,7 +82,7 @@ func LoadCertFromBytes(certBytes, keyBytes []byte) (tls.Certificate,
8282
return tls.Certificate{}, nil, err
8383
}
8484

85-
// Now parse the the PEM block of the certificate into its x509 data
85+
// Now parse the PEM block of the certificate into its x509 data
8686
// structure so it can be examined in more detail.
8787
x509Cert, err := x509.ParseCertificate(certData.Certificate[0])
8888
if err != nil {

cluster/etcd_elector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func (e *etcdLeaderElector) Leader(ctx context.Context) (string, error) {
103103
}
104104

105105
// Campaign will start a new leader election campaign. Campaign will block until
106-
// the elector context is canceled or the the caller is elected as the leader.
106+
// the elector context is canceled or the caller is elected as the leader.
107107
func (e *etcdLeaderElector) Campaign(ctx context.Context) error {
108108
return e.election.Campaign(ctx, e.id)
109109
}

htlcswitch/switch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1469,7 +1469,7 @@ func (s *Switch) failAddPacket(packet *htlcPacket, failure *LinkError) error {
14691469

14701470
log.Error(failure.Error())
14711471

1472-
// Create a failure packet for this htlc. The the full set of
1472+
// Create a failure packet for this htlc. The full set of
14731473
// information about the htlc failure is included so that they can
14741474
// be included in link failure notifications.
14751475
failPkt := &htlcPacket{

invoices/invoice_expiry_watcher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ func NewInvoiceExpiryWatcher(clock clock.Clock,
129129
}
130130
}
131131

132-
// Start starts the the subscription handler and the main loop. Start() will
132+
// Start starts the subscription handler and the main loop. Start() will
133133
// return with error if InvoiceExpiryWatcher is already started. Start()
134134
// expects a cancellation function passed that will be use to cancel expired
135135
// invoices by their payment hash.

kvdb/etcd/stm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@ func (s *stm) Rollback() {
11701170
}
11711171

11721172
// rollback will reset the read and write sets. If clearReadSet is false we'll
1173-
// only reset the the write set.
1173+
// only reset the write set.
11741174
func (s *stm) rollback(clearReadSet bool) {
11751175
if clearReadSet {
11761176
s.rset.clear()

lnrpc/signrpc/signer.pb.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lnrpc/signrpc/signer.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ message MuSig2CombineKeysRequest {
487487
repeated bytes all_signer_pubkeys = 1;
488488

489489
/*
490-
A series of optional generic tweaks to be applied to the the aggregated
490+
A series of optional generic tweaks to be applied to the aggregated
491491
public key.
492492
*/
493493
repeated TweakDesc tweaks = 2;
@@ -551,7 +551,7 @@ message MuSig2SessionRequest {
551551
repeated bytes other_signer_public_nonces = 3;
552552

553553
/*
554-
A series of optional generic tweaks to be applied to the the aggregated
554+
A series of optional generic tweaks to be applied to the aggregated
555555
public key.
556556
*/
557557
repeated TweakDesc tweaks = 4;

lnrpc/signrpc/signer.swagger.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@
509509
"items": {
510510
"$ref": "#/definitions/signrpcTweakDesc"
511511
},
512-
"description": "A series of optional generic tweaks to be applied to the the aggregated\npublic key."
512+
"description": "A series of optional generic tweaks to be applied to the aggregated\npublic key."
513513
},
514514
"taproot_tweak": {
515515
"$ref": "#/definitions/signrpcTaprootTweakDesc",
@@ -627,7 +627,7 @@
627627
"items": {
628628
"$ref": "#/definitions/signrpcTweakDesc"
629629
},
630-
"description": "A series of optional generic tweaks to be applied to the the aggregated\npublic key."
630+
"description": "A series of optional generic tweaks to be applied to the aggregated\npublic key."
631631
},
632632
"taproot_tweak": {
633633
"$ref": "#/definitions/signrpcTaprootTweakDesc",

lnwallet/chainfee/rates.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const (
1313
FeePerKwFloor SatPerKWeight = 253
1414

1515
// AbsoluteFeePerKwFloor is the lowest fee rate in sat/kw of a
16-
// transaction that we should ever _create_. This is the the equivalent
16+
// transaction that we should ever _create_. This is the equivalent
1717
// of 1 sat/byte in sat/kw.
1818
AbsoluteFeePerKwFloor SatPerKWeight = 250
1919
)

0 commit comments

Comments
 (0)