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
+1
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;
}