Skip to content

Commit

Permalink
remove leftover asset debug printing
Browse files Browse the repository at this point in the history
  • Loading branch information
instagibbs committed Mar 20, 2019
1 parent 1fec77f commit 7d86c7d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/wallet/rpcwallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
Expand Down

0 comments on commit 7d86c7d

Please sign in to comment.