Merge pull request #8780
4e16559
rpc: give reason when sending non-hex raw tx (jeffro256)
This commit is contained in:
commit
b442d5d4c1
|
@ -1313,6 +1313,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