aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/message_store.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-02-18 14:03:31 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-02-18 14:03:31 -0500
commitce5800a22539e3d5811edfdf4cdd07e1fbc62cef (patch)
treec4a46216b6b206fcee185d13ed6c6f344ae990b7 /src/wallet/message_store.cpp
parentMerge pull request #7343 (diff)
parentRemove unused variables in monero codebase (diff)
downloadmonero-ce5800a22539e3d5811edfdf4cdd07e1fbc62cef.tar.xz
Merge pull request #7346
85db173 Remove unused variables in monero codebase (Kevin Barbour)
Diffstat (limited to 'src/wallet/message_store.cpp')
-rw-r--r--src/wallet/message_store.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wallet/message_store.cpp b/src/wallet/message_store.cpp
index 303b576c7..87cb75fbf 100644
--- a/src/wallet/message_store.cpp
+++ b/src/wallet/message_store.cpp
@@ -1340,7 +1340,10 @@ bool message_store::check_for_messages(const multisig_wallet_state &state, std::
}
}
std::vector<transport_message> transport_messages;
- bool r = m_transporter.receive_messages(destinations, transport_messages);
+ if (!m_transporter.receive_messages(destinations, transport_messages))
+ {
+ return false;
+ }
if (!m_run.load(std::memory_order_relaxed))
{
// Stop was called, don't waste time processing the messages