From 81283e8b5a2b5d8c6d06bca1ddcbfe383b0e2320 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Sat, 2 Dec 2017 18:36:09 -0800 Subject: [PATCH] lnrpc: make BlocksTillOpen an int32 --- lnrpc/rpc.pb.go | 2 +- lnrpc/rpc.proto | 2 +- lnrpc/rpc.swagger.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lnrpc/rpc.pb.go b/lnrpc/rpc.pb.go index 118d81e0..e41c94bb 100644 --- a/lnrpc/rpc.pb.go +++ b/lnrpc/rpc.pb.go @@ -1906,7 +1906,7 @@ type PendingChannelResponse_PendingOpenChannel struct { // / The height at which this channel will be confirmed ConfirmationHeight uint32 `protobuf:"varint,2,opt,name=confirmation_height" json:"confirmation_height,omitempty"` // / The number of blocks until this channel is open - BlocksTillOpen uint32 `protobuf:"varint,3,opt,name=blocks_till_open" json:"blocks_till_open,omitempty"` + BlocksTillOpen int32 `protobuf:"varint,3,opt,name=blocks_till_open" json:"blocks_till_open,omitempty"` // * // The amount calculated to be paid in fees for the current set of // commitment transactions. The fee amount is persisted with the channel diff --git a/lnrpc/rpc.proto b/lnrpc/rpc.proto index 8e1d77d6..d7a47c86 100644 --- a/lnrpc/rpc.proto +++ b/lnrpc/rpc.proto @@ -920,7 +920,7 @@ message PendingChannelResponse { uint32 confirmation_height = 2 [ json_name = "confirmation_height" ]; /// The number of blocks until this channel is open - uint32 blocks_till_open = 3 [ json_name = "blocks_till_open" ]; + int32 blocks_till_open = 3 [ json_name = "blocks_till_open" ]; /** The amount calculated to be paid in fees for the current set of diff --git a/lnrpc/rpc.swagger.json b/lnrpc/rpc.swagger.json index c5c6b104..bc64aabe 100644 --- a/lnrpc/rpc.swagger.json +++ b/lnrpc/rpc.swagger.json @@ -785,7 +785,7 @@ }, "blocks_till_open": { "type": "integer", - "format": "int64", + "format": "int32", "title": "/ The number of blocks until this channel is open" }, "commit_fee": {