rpc: give reason when sending non-hex raw tx

pull/479/head
jeffro256 1 year ago committed by wowario
parent 8d7701a67d
commit d9c70f5a08
Signed by: wowario
GPG Key ID: 793504B449C69220

@ -1251,6 +1251,7 @@ namespace cryptonote
{
LOG_PRINT_L0("[on_send_raw_tx]: Failed to parse tx from hexbuff: " << req.tx_as_hex);
res.status = "Failed";
res.reason = "Hex decoding failed";
return true;
}

Loading…
Cancel
Save