lnrpc: fix description of tx_index to be correct[skip ci]

This commit is contained in:
benthecarman committed 2022-10-16 19:59:40 -05:00
1 parent 2e410dd248
commit 4607dff2c3
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -125,7 +125,7 @@ type ConfDetails struct {
// The height of the block in which the confirmed transaction was included // The height of the block in which the confirmed transaction was included
// in. // in.
BlockHeight uint32 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` BlockHeight uint32 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
// The index of the confirmed transaction within the transaction. // The index of the confirmed transaction within the block.
TxIndex uint32 `protobuf:"varint,4,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` TxIndex uint32 `protobuf:"varint,4,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
// The raw bytes of the block that mined the transaction. Only included if // The raw bytes of the block that mined the transaction. Only included if
// include_block was set in the request. // include_block was set in the request.
+1 -1
View File
@@ -91,7 +91,7 @@ message ConfDetails {
// in. // in.
uint32 block_height = 3; uint32 block_height = 3;
// The index of the confirmed transaction within the transaction. // The index of the confirmed transaction within the block.
uint32 tx_index = 4; uint32 tx_index = 4;
/* /*
+1 -1
View File
@@ -183,7 +183,7 @@
"tx_index": { "tx_index": {
"type": "integer", "type": "integer",
"format": "int64", "format": "int64",
"description": "The index of the confirmed transaction within the transaction." "description": "The index of the confirmed transaction within the block."
}, },
"raw_block": { "raw_block": {
"type": "string", "type": "string",