diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-07-19 17:34:09 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-07-19 17:34:12 -0400 |
commit | f281f8f755229ed720a088c44ae14189ec4ff9c8 (patch) | |
tree | dce43d3f5748ea8c057e8bdccca4126762ee704b /src/script/script.cpp | |
parent | 8c36432791652cd5a67ead6299a9611cf8fb81fa (diff) | |
parent | 2c71edc2fc52cfc3a0b401f8d5d051c8938c150e (diff) |
Merge #13074: [trivial] Correct help text for `importaddress` RPC
2c71edc2fc [wallet] [rpc] Fix importaddress help text (John Newbery)
Pull request description:
Help text for `importaddress` referred to the first parameter as `script`, when in fact it's `address`. Calling with a script argument fails:
```
→ bcli -named importaddress script=2N3qhMpHK8WNo7wv87W9eHMgvGyJU1593Ei
error code: -8
error message:
Unknown named parameter script
→ bcli -named importaddress address=2N3qhMpHK8WNo7wv87W9eHMgvGyJU1593Ei
# success!
```
Tree-SHA512: 24dcb2cbd0a43e25896b1c67fa0386df2453ec04d49a339e10992417b3921ce3df8a6aa5abba7d2237d6188b018948b2a21ea2f04d37120ad36c31c7b7fc9f1c
Diffstat (limited to 'src/script/script.cpp')
0 files changed, 0 insertions, 0 deletions