lnrpc: fix nanonsecond typo

This commit is contained in:
Conner Fromknecht 2019-11-22 12:23:35 -08:00
parent 0c83a066e9
commit 9287610b83
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7
3 changed files with 6 additions and 6 deletions

@ -7846,10 +7846,10 @@ type HTLCAttempt struct {
Status HTLCAttempt_HTLCStatus `protobuf:"varint,1,opt,name=status,proto3,enum=lnrpc.HTLCAttempt_HTLCStatus" json:"status,omitempty"` Status HTLCAttempt_HTLCStatus `protobuf:"varint,1,opt,name=status,proto3,enum=lnrpc.HTLCAttempt_HTLCStatus" json:"status,omitempty"`
/// The route taken by this HTLC. /// The route taken by this HTLC.
Route *Route `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"` Route *Route `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"`
/// The time in UNIX nanonseconds at which this HTLC was sent. /// The time in UNIX nanoseconds at which this HTLC was sent.
AttemptTimeNs int64 `protobuf:"varint,3,opt,name=attempt_time_ns,proto3" json:"attempt_time_ns,omitempty"` AttemptTimeNs int64 `protobuf:"varint,3,opt,name=attempt_time_ns,proto3" json:"attempt_time_ns,omitempty"`
//* //*
//The time in UNIX nanonseconds at which this HTLC was settled or failed. //The time in UNIX nanoseconds at which this HTLC was settled or failed.
//This value will not be set if the HTLC is still IN_FLIGHT. //This value will not be set if the HTLC is still IN_FLIGHT.
ResolveTimeNs int64 `protobuf:"varint,4,opt,name=resolve_time_ns,proto3" json:"resolve_time_ns,omitempty"` ResolveTimeNs int64 `protobuf:"varint,4,opt,name=resolve_time_ns,proto3" json:"resolve_time_ns,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`

@ -2535,11 +2535,11 @@ message HTLCAttempt {
/// The route taken by this HTLC. /// The route taken by this HTLC.
Route route = 2 [json_name = "route"]; Route route = 2 [json_name = "route"];
/// The time in UNIX nanonseconds at which this HTLC was sent. /// The time in UNIX nanoseconds at which this HTLC was sent.
int64 attempt_time_ns = 3 [json_name = "attempt_time_ns"]; int64 attempt_time_ns = 3 [json_name = "attempt_time_ns"];
/** /**
The time in UNIX nanonseconds at which this HTLC was settled or failed. The time in UNIX nanoseconds at which this HTLC was settled or failed.
This value will not be set if the HTLC is still IN_FLIGHT. This value will not be set if the HTLC is still IN_FLIGHT.
*/ */
int64 resolve_time_ns = 4 [json_name = "resolve_time_ns"]; int64 resolve_time_ns = 4 [json_name = "resolve_time_ns"];

@ -2534,12 +2534,12 @@
"attempt_time_ns": { "attempt_time_ns": {
"type": "string", "type": "string",
"format": "int64", "format": "int64",
"description": "/ The time in UNIX nanonseconds at which this HTLC was sent." "description": "/ The time in UNIX nanoseconds at which this HTLC was sent."
}, },
"resolve_time_ns": { "resolve_time_ns": {
"type": "string", "type": "string",
"format": "int64", "format": "int64",
"description": "*\nThe time in UNIX nanonseconds at which this HTLC was settled or failed.\nThis value will not be set if the HTLC is still IN_FLIGHT." "description": "*\nThe time in UNIX nanoseconds at which this HTLC was settled or failed.\nThis value will not be set if the HTLC is still IN_FLIGHT."
} }
} }
}, },