diff options
author | jeffro256 <jeffro256@tutanota.com> | 2023-03-17 18:18:06 -0500 |
---|---|---|
committer | jeffro256 <jeffro256@tutanota.com> | 2023-03-17 18:18:06 -0500 |
commit | 4e16559053e5234933ae0893e9fe0ea2e2733640 (patch) | |
tree | 1ead7991fa140c652ce679f3549a67337c20e25f /src | |
parent | Merge pull request #8737 (diff) | |
download | monero-4e16559053e5234933ae0893e9fe0ea2e2733640.tar.xz |
rpc: give reason when sending non-hex raw tx
Diffstat (limited to 'src')
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index c6d105fb4..53bb15177 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -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; } |