diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-06-17 13:02:45 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-06-17 13:02:47 -0400 |
commit | 91958d66cbbf2bbd07925b7dcc65bde9ec7f7005 (patch) | |
tree | c28be1c7fc0c821ad9e52171325981ddde8dcb47 /test | |
parent | d9bafca20c197110ab5a15b1a98940f3e949f54b (diff) | |
parent | 71fd628adafdeb2a4b343e0d51d7168cdb186312 (diff) |
Merge #16210: rpc: add 2nd arg to signrawtransactionwithkey examples
71fd628ada Add example 2nd arg to signrawtransactionwithkey (Chris Moore)
Pull request description:
The RPC examples for signrawtransactionwithkey are missing the 2nd parameter.
Before this change the help text showed:
Examples:
> bitcoin-cli signrawtransactionwithkey "myhex"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signrawtransactionwithkey", "params": ["myhex"] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/
With the change, it shows:
Examples:
> bitcoin-cli signrawtransactionwithkey "myhex" "[\"key1\",\"key2\"]"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signrawtransactionwithkey", "params": ["myhex", "[\"key1\",\"key2\"]"] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/
ACKs for commit 71fd62:
Tree-SHA512: dadf6bf0ba64ac356b7b8f9ed4d483384b70080ac4b1664b27a2e72b97f25d7266f3dae89fbeade73c1bae802b5bae7b84d596c93a9ae9c748851ae35758d9a6
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions