diff options
author | John Newbery <john@johnnewbery.com> | 2018-08-06 11:49:05 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2018-08-27 14:36:12 -0400 |
commit | 90c834089a3ff6eb8243cf7f333d2c2cd9ae3626 (patch) | |
tree | a31e42e8ffc736e6d5b16f0391a3ac2f7a195142 /src/rpc/misc.cpp | |
parent | df905e390e5f8b0201bda62c55227e9dc85194cd (diff) | |
download | bitcoin-90c834089a3ff6eb8243cf7f333d2c2cd9ae3626.tar.xz |
[RPC] Remove warning about wallet addresses in createmultisig()
createmultisig() was updated in V0.16 to not use the wallet. Warning
text was included to warn the user. Remove that now.
Diffstat (limited to 'src/rpc/misc.cpp')
-rw-r--r-- | src/rpc/misc.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp index 3668b0cd04..b7d05cef11 100644 --- a/src/rpc/misc.cpp +++ b/src/rpc/misc.cpp @@ -114,8 +114,7 @@ static UniValue createmultisig(const JSONRPCRequest& request) if (IsHex(keys[i].get_str()) && (keys[i].get_str().length() == 66 || keys[i].get_str().length() == 130)) { pubkeys.push_back(HexToPubKey(keys[i].get_str())); } else { - throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, strprintf("Invalid public key: %s\nNote that from v0.16, createmultisig no longer accepts addresses." - " Users must use addmultisigaddress to create multisig addresses with addresses known to the wallet.", keys[i].get_str())); + throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, strprintf("Invalid public key: %s\n.", keys[i].get_str())); } } |