diff options
author | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2021-05-11 19:03:41 +0900 |
---|---|---|
committer | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2021-05-11 19:07:08 +0900 |
commit | dc4db23b30b4bc7884bb28630b2b24edd81c1799 (patch) | |
tree | 4b4bd0cf77fc1efcbff1e56df9f424afad901a45 /src/rpc/rawtransaction.cpp | |
parent | c8cf0a3d513b8c892f1ae16b8c0cda184064a07b (diff) |
rpc: address:amount dictionaries are OBJ_USER_KEYS
Diffstat (limited to 'src/rpc/rawtransaction.cpp')
-rw-r--r-- | src/rpc/rawtransaction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp index 186a77385a..481a3d72cb 100644 --- a/src/rpc/rawtransaction.cpp +++ b/src/rpc/rawtransaction.cpp @@ -1434,7 +1434,7 @@ static RPCHelpMan createpsbt() "For compatibility reasons, a dictionary, which holds the key-value pairs directly, is also\n" " accepted as second parameter.", { - {"", RPCArg::Type::OBJ, RPCArg::Optional::OMITTED, "", + {"", RPCArg::Type::OBJ_USER_KEYS, RPCArg::Optional::OMITTED, "", { {"address", RPCArg::Type::AMOUNT, RPCArg::Optional::NO, "A key-value pair. The key (string) is the bitcoin address, the value (float or string) is the amount in " + CURRENCY_UNIT}, }, |