We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4ea21ce + b5a49ed commit 98faa8cCopy full SHA for 98faa8c
loopdb/swapstate.go
@@ -81,7 +81,8 @@ const (
81
// Type returns the type of the SwapState it is called on.
82
func (s SwapState) Type() SwapStateType {
83
if s == StateInitiated || s == StateHtlcPublished ||
84
- s == StatePreimageRevealed || s == StateFailTemporary {
+ s == StatePreimageRevealed || s == StateFailTemporary ||
85
+ s == StateInvoiceSettled {
86
87
return StateTypePending
88
}
0 commit comments