diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-01-30 13:28:12 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-01-30 13:28:12 +0000 |
commit | 6288295f8e4c7807dba73cbdddd375f105ea5af6 (patch) | |
tree | 35e1d4b16680d73d93e1eda5d6faf2a432e95486 /src | |
parent | simplewallet: show_transfers can now show just failed txes (diff) | |
download | monero-6288295f8e4c7807dba73cbdddd375f105ea5af6.tar.xz |
rpc: add missing return on error when getting a tx
Diffstat (limited to '')
-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 adcaf036d..4a6f8e671 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -224,6 +224,7 @@ namespace cryptonote if(b.size() != sizeof(crypto::hash)) { res.status = "Failed, size of data mismatch"; + return true; } vh.push_back(*reinterpret_cast<const crypto::hash*>(b.data())); } |