Skip to content

Commit 90c8340

Browse files
committed
[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.
1 parent df905e3 commit 90c8340

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/rpc/misc.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,7 @@ static UniValue createmultisig(const JSONRPCRequest& request)
114114
if (IsHex(keys[i].get_str()) && (keys[i].get_str().length() == 66 || keys[i].get_str().length() == 130)) {
115115
pubkeys.push_back(HexToPubKey(keys[i].get_str()));
116116
} else {
117-
throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, strprintf("Invalid public key: %s\nNote that from v0.16, createmultisig no longer accepts addresses."
118-
" Users must use addmultisigaddress to create multisig addresses with addresses known to the wallet.", keys[i].get_str()));
117+
throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, strprintf("Invalid public key: %s\n.", keys[i].get_str()));
119118
}
120119
}
121120

0 commit comments

Comments
 (0)