Merge pull request #8780

4e16559 rpc: give reason when sending non-hex raw tx (jeffro256)
This commit is contained in:
luigi1111 2023-04-25 11:21:48 -04:00
commit b442d5d4c1
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -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;
}