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-07 11:36:29 -0500
commit46c162df478f3b71bef8217f214ccf202576b733 (patch)
tree67f0870b84846c6033dae9d4c9319b5047c04fb2 /src/wallet
parentef70f9b52b851c7997a9f1a0834714e3eebc1fd8 (diff)
downloadbitcoin-46c162df478f3b71bef8217f214ccf202576b733.tar.xz
rpc: Avoid creating non-standard raw transactions
Github-Pull: #14890 Rebased-From: fa4c8679ed94f215ce895938f7c3c169a2ce101e
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 193da76551..e02171ec40 100644
--- a/src/wallet/rpcwallet.cpp
+++ b/src/wallet/rpcwallet.cpp
@@ -4680,7 +4680,8 @@ UniValue walletcreatefundedpsbt(const JSONRPCRequest& request)
" } \n"
" ,...\n"
" ]\n"
- "2. \"outputs\" (array, required) a json array with outputs (key-value pairs)\n"
+ "2. \"outputs\" (array, required) 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"
" [\n"
" {\n"
" \"address\": x.xxx, (obj, optional) A key-value pair. The key (string) is the bitcoin address, the value (float or string) is the amount in " + CURRENCY_UNIT + "\n"