multi: fix canceled spelling
This commit is contained in:
31 files changed
+603
-603
No files matched your search
@@ -68,8 +68,8 @@ func CreateRPCInvoice(invoice *channeldb.Invoice,
|
||||
state = lnrpc.InvoiceHTLCState_ACCEPTED
|
||||
case channeldb.HtlcStateSettled:
|
||||
state = lnrpc.InvoiceHTLCState_SETTLED
|
||||
case channeldb.HtlcStateCancelled:
|
||||
state = lnrpc.InvoiceHTLCState_CANCELLED
|
||||
case channeldb.HtlcStateCanceled:
|
||||
state = lnrpc.InvoiceHTLCState_CANCELED
|
||||
default:
|
||||
return nil, fmt.Errorf("unknown state %v", htlc.State)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user