Browse Source

Merge pull request #3731 from gmaxwell/signrawnulldocs

Make the signrawtransaction docs explicit that the arguments can be 'null'
0.10
Gregory Maxwell 11 years ago
parent
commit
f42085d313
  1. 4
      src/rpcrawtransaction.cpp

4
src/rpcrawtransaction.cpp

@ -522,7 +522,7 @@ Value signrawtransaction(const Array& params, bool fHelp) @@ -522,7 +522,7 @@ Value signrawtransaction(const Array& params, bool fHelp)
"\nArguments:\n"
"1. \"hexstring\" (string, required) The transaction hex string\n"
"2. \"prevtxs\" (string, optional) An json array of previous dependent transaction outputs\n"
" [ (json array of json objects)\n"
" [ (json array of json objects, or 'null' if none provided)\n"
" {\n"
" \"txid\":\"id\", (string, required) The transaction id\n"
" \"vout\":n, (numeric, required) The output number\n"
@ -532,7 +532,7 @@ Value signrawtransaction(const Array& params, bool fHelp) @@ -532,7 +532,7 @@ Value signrawtransaction(const Array& params, bool fHelp)
" ,...\n"
" ]\n"
"3. \"privatekeys\" (string, optional) A json array of base58-encoded private keys for signing\n"
" [ (json array of strings)\n"
" [ (json array of strings, or 'null' if none provided)\n"
" \"privatekey\" (string) private key in base58-encoding\n"
" ,...\n"
" ]\n"

Loading…
Cancel
Save