lnrpc: make BlocksTillOpen an int32

This commit is contained in:
Olaoluwa Osuntokun 2017-12-02 18:36:09 -08:00
parent 7caf3ceb49
commit 81283e8b5a
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21
3 changed files with 3 additions and 3 deletions

@ -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

@ -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

@ -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": {