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 ec62262 commit 410d5faCopy full SHA for 410d5fa
src/wallet/rpcwallet.cpp
@@ -4744,7 +4744,7 @@ UniValue sendtomainchain_base(const JSONRPCRequest& request)
4744
4745
EnsureWalletIsUnlocked(pwallet);
4746
4747
- CTxDestination parent_address = DecodeDestination(request.params[0].get_str());
+ CTxDestination parent_address = DecodeParentDestination(request.params[0].get_str());
4748
if (!IsValidDestination(parent_address))
4749
throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid Bitcoin address");
4750
0 commit comments