mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-27 19:26:23 +02:00
multi: fix canceled spelling
This commit is contained in:
@@ -34,7 +34,7 @@ type ResolutionMsg struct {
|
||||
// commitment trace.
|
||||
HtlcIndex uint64
|
||||
|
||||
// Failure will be non-nil if the incoming contract should be cancelled
|
||||
// Failure will be non-nil if the incoming contract should be canceled
|
||||
// all together. This can happen if the outgoing contract was dust, if
|
||||
// if the outgoing HTLC timed out.
|
||||
Failure lnwire.FailureMessage
|
||||
|
@@ -1785,7 +1785,7 @@ func TestChannelArbitratorDanglingCommitForceClose(t *testing.T) {
|
||||
)
|
||||
|
||||
// Now that we've sent this signal, we should have that
|
||||
// HTLC be cancelled back immediately.
|
||||
// HTLC be canceled back immediately.
|
||||
select {
|
||||
case msgs := <-chanArbCtx.resolutions:
|
||||
if len(msgs) != 1 {
|
||||
|
@@ -152,7 +152,7 @@ func (h *htlcOutgoingContestResolver) Resolve() (ContractResolver, error) {
|
||||
return h.claimCleanUp(commitSpend)
|
||||
|
||||
case <-h.Quit:
|
||||
return nil, fmt.Errorf("resolver cancelled")
|
||||
return nil, fmt.Errorf("resolver canceled")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user