aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorAntoine Riard <ariard@student.42.fr>2019-04-18 08:21:35 -0400
committerAntoine Riard <ariard@student.42.fr>2019-04-23 13:53:46 -0400
commit422677963a7b41e340b911b4cd53d29dd8d63f21 (patch)
tree90de47147f475d9b879fd7d65bb2015dad032d0b /src/wallet/wallet.h
parentedfe9438ca54274815f076fc21beb790df5aa0a2 (diff)
refactor: replace isPotentialtip/waitForNotifications by higher method
Add GUARDED_BY(cs_wallet) annotation to m_last_block_processed, given that its now guarded by cs_wallet instead of cs_main
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index 62ba0aa962..0d751a6d15 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -720,7 +720,7 @@ private:
* to have seen all transactions in the chain, but is only used to track
* live BlockConnected callbacks.
*/
- uint256 m_last_block_processed;
+ uint256 m_last_block_processed GUARDED_BY(cs_wallet);
public:
/*