Skip to content

Commit f42085d

Browse files
committed
Merge pull request #3731 from gmaxwell/signrawnulldocs
Make the signrawtransaction docs explicit that the arguments can be 'null'
2 parents 39fae6c + 041f71b commit f42085d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rpcrawtransaction.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ Value signrawtransaction(const Array& params, bool fHelp)
522522
"\nArguments:\n"
523523
"1. \"hexstring\" (string, required) The transaction hex string\n"
524524
"2. \"prevtxs\" (string, optional) An json array of previous dependent transaction outputs\n"
525-
" [ (json array of json objects)\n"
525+
" [ (json array of json objects, or 'null' if none provided)\n"
526526
" {\n"
527527
" \"txid\":\"id\", (string, required) The transaction id\n"
528528
" \"vout\":n, (numeric, required) The output number\n"
@@ -532,7 +532,7 @@ Value signrawtransaction(const Array& params, bool fHelp)
532532
" ,...\n"
533533
" ]\n"
534534
"3. \"privatekeys\" (string, optional) A json array of base58-encoded private keys for signing\n"
535-
" [ (json array of strings)\n"
535+
" [ (json array of strings, or 'null' if none provided)\n"
536536
" \"privatekey\" (string) private key in base58-encoding\n"
537537
" ,...\n"
538538
" ]\n"

0 commit comments

Comments
 (0)