Skip to content

Commit 7f31253

Browse files
committed
tapchannel+rpcserver: fix typos
1 parent 4a15eb2 commit 7f31253

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

rpcserver.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7036,9 +7036,9 @@ func (r *rpcServer) SendPayment(req *tchrpc.SendPaymentRequest,
70367036
// Continue below.
70377037

70387038
case req.RfqId != nil:
7039-
// Check if the provided rfq ID matches the expected length.
7039+
// Check if the provided RFQ ID matches the expected length.
70407040
if len(req.RfqId) != 32 {
7041-
return fmt.Errorf("rfq must be 32 bytes in length")
7041+
return fmt.Errorf("RFQ ID must be 32 bytes in length")
70427042
}
70437043

70447044
// Now let's try to perform an internal lookup to see if there's

tapchannel/aux_traffic_shaper.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ func (s *AuxTrafficShaper) PaymentBandwidth(htlcBlob,
187187
if htlcAssetAmount != 0 && htlcAssetAmount <= localBalance {
188188
// Check if the current link bandwidth can afford sending out
189189
// the htlc amount without dipping into the channel reserve. If
190-
// it goes below the reserve, we report zero bandwdith as we
191-
// cannot push the htlc amount.
190+
// it goes below the reserve, we report zero bandwidth as we
191+
// cannot push the HTLC amount.
192192
if linkBandwidth < htlcAmt {
193193
return 0, nil
194194
}

0 commit comments

Comments
 (0)