mirror of
https://github.com/monero-project/monero.git
synced 2025-01-28 18:56:31 +02:00
daemon_ipc_handlers: return after error when getting random outs
This commit is contained in:
parent
d7a0de604b
commit
359d62642b
@ -381,6 +381,7 @@ namespace IPC
|
|||||||
if (!core->get_random_outs_for_amounts(req, res))
|
if (!core->get_random_outs_for_amounts(req, res))
|
||||||
{
|
{
|
||||||
wap_proto_set_status(message, STATUS_RANDOM_OUTS_FAILED);
|
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.
|
// We convert the result into a JSON string and put it into a 0MQ frame.
|
||||||
|
Loading…
Reference in New Issue
Block a user