diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-02-18 14:03:31 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-02-18 14:03:31 -0500 |
commit | ce5800a22539e3d5811edfdf4cdd07e1fbc62cef (patch) | |
tree | c4a46216b6b206fcee185d13ed6c6f344ae990b7 /src/wallet/message_store.cpp | |
parent | Merge pull request #7343 (diff) | |
parent | Remove unused variables in monero codebase (diff) | |
download | monero-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.cpp | 5 |
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 |