Skip to content

Commit 6265ecc

Browse files
committed
Clarify that redeemScript is often optional
1 parent d3165ed commit 6265ecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rpcrawtransaction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ Value signrawtransaction(const Array& params, bool fHelp)
523523
" \"txid\":\"id\", (string, required) The transaction id\n"
524524
" \"vout\":n, (numeric, required) The output number\n"
525525
" \"scriptPubKey\": \"hex\", (string, required) script key\n"
526-
" \"redeemScript\": \"hex\" (string, required) redeem script\n"
526+
" \"redeemScript\": \"hex\" (string, required for P2SH) redeem script\n"
527527
" }\n"
528528
" ,...\n"
529529
" ]\n"

0 commit comments

Comments
 (0)