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 1fec77f commit 7d86c7dCopy full SHA for 7d86c7d
src/wallet/rpcwallet.cpp
@@ -458,11 +458,9 @@ static UniValue sendtoaddress(const JSONRPCRequest& request)
458
}
459
460
std::string strasset = Params().GetConsensus().pegged_asset.GetHex();
461
- LogPrintf("xxasset: %s\n", strasset);
462
if (request.params.size() > 8 && request.params[8].isStr() && !request.params[8].get_str().empty()) {
463
strasset = request.params[8].get_str();
464
465
466
CAsset asset = GetAssetFromString(strasset);
467
if (asset.IsNull() && g_con_elementsmode) {
468
throw JSONRPCError(RPC_WALLET_ERROR, strprintf("Unknown label and invalid asset hex: %s", asset.GetHex()));
0 commit comments