mirror of
https://git.wownero.com/wownero/wownero.git
synced 2025-01-05 18:28:52 +00:00
rpc: give reason when sending non-hex raw tx
This commit is contained in:
parent
8d7701a67d
commit
d9c70f5a08
@ -1251,6 +1251,7 @@ namespace cryptonote
|
|||||||
{
|
{
|
||||||
LOG_PRINT_L0("[on_send_raw_tx]: Failed to parse tx from hexbuff: " << req.tx_as_hex);
|
LOG_PRINT_L0("[on_send_raw_tx]: Failed to parse tx from hexbuff: " << req.tx_as_hex);
|
||||||
res.status = "Failed";
|
res.status = "Failed";
|
||||||
|
res.reason = "Hex decoding failed";
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user