Make the signrawtransaction docs explicit that the arguments can be 'null'.

This commit is contained in:
Gregory Maxwell 2014-02-22 12:51:23 -08:00
parent 39fae6cfdd
commit 041f71bb38
1 changed files with 2 additions and 2 deletions

View File

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