mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
loopdb: classify InvoiceSettled as pending
This commit is contained in:
parent
4ea21cee8b
commit
b5a49ed205
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue