From ac4742c2c5268ec9deb1f35b07099685cbcc4202 Mon Sep 17 00:00:00 2001 From: Carsten Otto Date: Sat, 15 May 2021 11:07:13 +0100 Subject: [PATCH] htlcswitch: fix documentation --- htlcswitch/link.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htlcswitch/link.go b/htlcswitch/link.go index e4f49b3d..8a6c5745 100644 --- a/htlcswitch/link.go +++ b/htlcswitch/link.go @@ -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,