diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-04-26 09:04:08 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-05-16 15:56:04 -0400 |
commit | fa499b5f027f77c0bf13699852c8c06f78e27bef (patch) | |
tree | 0d64e4c73efcbc3879a575c7fa08cf186b179766 /src/wallet/rpcwallet.cpp | |
parent | fa5c5cd141f0265a5693234690ac757b811157d8 (diff) | |
download | bitcoin-fa499b5f027f77c0bf13699852c8c06f78e27bef.tar.xz |
rpc: bugfix: Properly use iswitness in converttopsbt
Also explain the param in all RPCs
Diffstat (limited to 'src/wallet/rpcwallet.cpp')
-rw-r--r-- | src/wallet/rpcwallet.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 6cb3deb591..96f1051f17 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -3030,8 +3030,13 @@ static UniValue fundrawtransaction(const JSONRPCRequest& request) " \"CONSERVATIVE\""}, }, "options"}, - {"iswitness", RPCArg::Type::BOOL, /* default */ "depends on heuristic tests", "Whether the transaction hex is a serialized witness transaction \n" - " If iswitness is not present, heuristic tests will be used in decoding"}, + {"iswitness", RPCArg::Type::BOOL, /* default */ "depends on heuristic tests", "Whether the transaction hex is a serialized witness transaction.\n" + "If iswitness is not present, heuristic tests will be used in decoding.\n" + "If true, only witness deserialization will be tried.\n" + "If false, only non-witness deserialization will be tried.\n" + "This boolean should reflect whether the transaction has inputs\n" + "(e.g. fully valid, or on-chain transactions), if known by the caller." + }, }, RPCResult{ "{\n" |