diff --git a/loopdb/swapstate.go b/loopdb/swapstate.go index 1227f16..87c21f3 100644 --- a/loopdb/swapstate.go +++ b/loopdb/swapstate.go @@ -81,7 +81,8 @@ const ( // Type returns the type of the SwapState it is called on. func (s SwapState) Type() SwapStateType { if s == StateInitiated || s == StateHtlcPublished || - s == StatePreimageRevealed || s == StateFailTemporary { + s == StatePreimageRevealed || s == StateFailTemporary || + s == StateInvoiceSettled { return StateTypePending }