We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df905e3 commit 90c8340Copy full SHA for 90c8340
src/rpc/misc.cpp
@@ -114,8 +114,7 @@ static UniValue createmultisig(const JSONRPCRequest& request)
114
if (IsHex(keys[i].get_str()) && (keys[i].get_str().length() == 66 || keys[i].get_str().length() == 130)) {
115
pubkeys.push_back(HexToPubKey(keys[i].get_str()));
116
} 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()));
+ throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, strprintf("Invalid public key: %s\n.", keys[i].get_str()));
119
}
120
121
0 commit comments