htlcswitch: fix documentation

This commit is contained in:
Carsten Otto committed 2021-05-23 19:17:59 +01:00
1 parent 788c94bdcd
commit ac4742c2c5
1 file changed
+1 -1
+1 -1
View File
@@ -2276,7 +2276,7 @@ func (l *channelLink) CheckHtlcTransit(payHash [32]byte,
)
}
// htlcSatifiesPolicyOutgoing checks whether the given htlc parameters satisfy
// canSendHtlc checks whether the given htlc parameters satisfy
// the channel's amount and time lock constraints.
func (l *channelLink) canSendHtlc(policy ForwardingPolicy,
payHash [32]byte, amt lnwire.MilliSatoshi, timeout uint32,