Skip to content

Commit c5fcab9

Browse files
authored
docs: rpc help correction (dashpay#5877)
## Issue being fixed or feature implemented Help field showed wrong type ## What was done? Changed height to number instead of string ## How Has This Been Tested? Locally ## Breaking Changes N/A ## Checklist: _Go over all the following points, and put an `x` in all the boxes that apply._ - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
1 parent fa4ced9 commit c5fcab9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rpc/blockchain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,7 @@ static UniValue getblock(const JSONRPCRequest& request)
11651165
{RPCResult::Type::OBJ, "cbTx", "The coinbase special transaction",
11661166
{
11671167
{RPCResult::Type::NUM, "version", "The coinbase special transaction version"},
1168-
{RPCResult::Type::STR_HEX, "height", "The block height"},
1168+
{RPCResult::Type::NUM, "height", "The block height"},
11691169
{RPCResult::Type::STR_HEX, "merkleRootMNList", "The merkle root of the masternode list"},
11701170
{RPCResult::Type::STR_HEX, "merkleRootQuorums", "The merkle root of the quorum list"},
11711171
}},

0 commit comments

Comments
 (0)