mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
remove leftover asset debug printing
This commit is contained in:
parent
1fec77f467
commit
7d86c7d976
1 changed files with 0 additions and 2 deletions
|
|
@ -458,11 +458,9 @@ static UniValue sendtoaddress(const JSONRPCRequest& request)
|
|||
}
|
||||
|
||||
std::string strasset = Params().GetConsensus().pegged_asset.GetHex();
|
||||
LogPrintf("xxasset: %s\n", strasset);
|
||||
if (request.params.size() > 8 && request.params[8].isStr() && !request.params[8].get_str().empty()) {
|
||||
strasset = request.params[8].get_str();
|
||||
}
|
||||
LogPrintf("xxasset: %s\n", strasset);
|
||||
CAsset asset = GetAssetFromString(strasset);
|
||||
if (asset.IsNull() && g_con_elementsmode) {
|
||||
throw JSONRPCError(RPC_WALLET_ERROR, strprintf("Unknown label and invalid asset hex: %s", asset.GetHex()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue