diff options
-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())); } |