From 9287610b83176fd0b1a564e047196887c2260083 Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Fri, 22 Nov 2019 12:23:35 -0800 Subject: [PATCH] lnrpc: fix nanonsecond typo --- lnrpc/rpc.pb.go | 4 ++-- lnrpc/rpc.proto | 4 ++-- lnrpc/rpc.swagger.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lnrpc/rpc.pb.go b/lnrpc/rpc.pb.go index 99a6294a..00e4a091 100644 --- a/lnrpc/rpc.pb.go +++ b/lnrpc/rpc.pb.go @@ -7846,10 +7846,10 @@ type HTLCAttempt struct { Status HTLCAttempt_HTLCStatus `protobuf:"varint,1,opt,name=status,proto3,enum=lnrpc.HTLCAttempt_HTLCStatus" json:"status,omitempty"` /// The route taken by this HTLC. 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"` //* - //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. ResolveTimeNs int64 `protobuf:"varint,4,opt,name=resolve_time_ns,proto3" json:"resolve_time_ns,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` diff --git a/lnrpc/rpc.proto b/lnrpc/rpc.proto index 1d4db503..afbdf390 100644 --- a/lnrpc/rpc.proto +++ b/lnrpc/rpc.proto @@ -2535,11 +2535,11 @@ message HTLCAttempt { /// The route taken by this HTLC. 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"]; /** - 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. */ int64 resolve_time_ns = 4 [json_name = "resolve_time_ns"]; diff --git a/lnrpc/rpc.swagger.json b/lnrpc/rpc.swagger.json index 7788d2d0..3763cd87 100644 --- a/lnrpc/rpc.swagger.json +++ b/lnrpc/rpc.swagger.json @@ -2534,12 +2534,12 @@ "attempt_time_ns": { "type": "string", "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": { "type": "string", "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." } } },