aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-12-06 16:13:53 -0500
committerMarcoFalke <falke.marco@gmail.com>2018-12-06 16:56:58 -0500
commitfa4c8679ed94f215ce895938f7c3c169a2ce101e (patch)
treede168a66e9c942f47fa3b24c3ab2864f23eb5448 /src/wallet
parentf8456256c8cb68562c6392c6f715b64fcdfa3fe7 (diff)
downloadbitcoin-fa4c8679ed94f215ce895938f7c3c169a2ce101e.tar.xz
rpc: Avoid creating non-standard raw transactions
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/rpcwallet.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp
index 4479438238..7d48006606 100644
--- a/src/wallet/rpcwallet.cpp
+++ b/src/wallet/rpcwallet.cpp
@@ -4023,7 +4023,8 @@ UniValue walletcreatefundedpsbt(const JSONRPCRequest& request)
},
},
},
- {"outputs", RPCArg::Type::ARR, /* opt */ false, /* default_val */ "", "a json array with outputs (key-value pairs).\n"
+ {"outputs", RPCArg::Type::ARR, /* opt */ false, /* default_val */ "", "a json array with outputs (key-value pairs), where none of the keys are duplicated.\n"
+ "That is, each address can only appear once and there can only be one 'data' object.\n"
"For compatibility reasons, a dictionary, which holds the key-value pairs directly, is also\n"
" accepted as second parameter.",
{