Merge #20731: rpc: Add missing description of vout in getrawtransaction help text

b23349b8804fb60c6b3d7d0e2a95927a0d1b49b9 rpc: Add missing description of vout in getrawtransaction help text (Ben Carman)

Pull request description:

  In `getrawtransaction` the vout did not have a description. I gave it the same description as the one used in `decoderawtransaction`.

ACKs for top commit:
  MarcoFalke:
    ACK b23349b8804fb60c6b3d7d0e2a95927a0d1b49b9 🏯

Tree-SHA512: 3833b97c82a46dfeb7ac825d4b2514b4b05ce54ac41f2144a8e2f2093b3411fe1d090c1e5b0c3d09200a2ea164c8d17ece12cdb43bbaeaeccc51a9da6dd7b7a3
This commit is contained in:
MarcoFalke 2020-12-21 19:57:29 +01:00 committed by PastaPastaPasta
parent 48b92ec762
commit 04a0baad8d

View File

@ -150,7 +150,7 @@ static UniValue getrawtransaction(const JSONRPCRequest& request)
{RPCResult::Type::OBJ, "", "", {RPCResult::Type::OBJ, "", "",
{ {
{RPCResult::Type::STR_HEX, "txid", "The transaction id"}, {RPCResult::Type::STR_HEX, "txid", "The transaction id"},
{RPCResult::Type::STR, "vout", ""}, {RPCResult::Type::NUM, "vout", "The output number"},
{RPCResult::Type::OBJ, "scriptSig", "The script", {RPCResult::Type::OBJ, "scriptSig", "The script",
{ {
{RPCResult::Type::STR, "asm", "asm"}, {RPCResult::Type::STR, "asm", "asm"},