Skip to content

Commit 2556a97

Browse files
author
MarcoFalke
committed
Merge #20731: rpc: Add missing description of vout in getrawtransaction help text
b23349b 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 b23349b 🏯 Tree-SHA512: 3833b97c82a46dfeb7ac825d4b2514b4b05ce54ac41f2144a8e2f2093b3411fe1d090c1e5b0c3d09200a2ea164c8d17ece12cdb43bbaeaeccc51a9da6dd7b7a3
2 parents 1d7243d + b23349b commit 2556a97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rpc/rawtransaction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ static RPCHelpMan getrawtransaction()
109109
{RPCResult::Type::OBJ, "", "",
110110
{
111111
{RPCResult::Type::STR_HEX, "txid", "The transaction id"},
112-
{RPCResult::Type::STR, "vout", ""},
112+
{RPCResult::Type::NUM, "vout", "The output number"},
113113
{RPCResult::Type::OBJ, "scriptSig", "The script",
114114
{
115115
{RPCResult::Type::STR, "asm", "asm"},

0 commit comments

Comments
 (0)