From 359d62642b7d75a67ead0f0bc60da68c3d2a0317 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sat, 31 Oct 2015 10:49:39 +0000 Subject: [PATCH] daemon_ipc_handlers: return after error when getting random outs --- src/ipc/daemon_ipc_handlers.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ipc/daemon_ipc_handlers.cpp b/src/ipc/daemon_ipc_handlers.cpp index fdb5bc7ee..1ac27d8d6 100644 --- a/src/ipc/daemon_ipc_handlers.cpp +++ b/src/ipc/daemon_ipc_handlers.cpp @@ -381,6 +381,7 @@ namespace IPC if (!core->get_random_outs_for_amounts(req, res)) { wap_proto_set_status(message, STATUS_RANDOM_OUTS_FAILED); + return; } // We convert the result into a JSON string and put it into a 0MQ frame.