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)
|
||||
}
|
||||
|
||||
+540
-540
File diff suppressed because it is too large.
Load diff
+2
-2
@@ -2204,7 +2204,7 @@ message Invoice {
|
||||
enum InvoiceHTLCState {
|
||||
ACCEPTED = 0;
|
||||
SETTLED = 1;
|
||||
CANCELLED = 2;
|
||||
CANCELED = 2;
|
||||
}
|
||||
|
||||
/// Details of an HTLC that paid to an invoice
|
||||
@@ -2224,7 +2224,7 @@ message InvoiceHTLC {
|
||||
/// Time at which this htlc was accepted.
|
||||
int64 accept_time = 5 [json_name = "accept_time"];
|
||||
|
||||
/// Time at which this htlc was settled or cancelled.
|
||||
/// Time at which this htlc was settled or canceled.
|
||||
int64 resolve_time = 6 [json_name = "resolve_time"];
|
||||
|
||||
/// Block height at which this htlc expires.
|
||||
|
||||
@@ -2605,7 +2605,7 @@
|
||||
"resolve_time": {
|
||||
"type": "string",
|
||||
"format": "int64",
|
||||
"description": "/ Time at which this htlc was settled or cancelled."
|
||||
"description": "/ Time at which this htlc was settled or canceled."
|
||||
},
|
||||
"expiry_height": {
|
||||
"type": "integer",
|
||||
@@ -2624,7 +2624,7 @@
|
||||
"enum": [
|
||||
"ACCEPTED",
|
||||
"SETTLED",
|
||||
"CANCELLED"
|
||||
"CANCELED"
|
||||
],
|
||||
"default": "ACCEPTED"
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user