mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
rpc: give reason when sending non-hex raw tx
This commit is contained in:
parent
c5d10a4ac4
commit
4e16559053
@ -1250,6 +1250,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…
Reference in New Issue
Block a user