multi: fix canceled spelling

This commit is contained in:
Joost Jager committed 2019-10-03 17:27:36 +02:00
1 parent 989de44a69
commit b58dbb2d70
31 files changed
+603 -603

No files matched your search

+2 -2
View File
@@ -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
View File
File diff suppressed because it is too large. Load diff
+2 -2
View File
@@ -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.
+2 -2
View File
@@ -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"
},