aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-08-26 00:56:09 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2018-08-26 11:15:17 +0200
commit9e2de6b9d0013ed871efbc414d2a23e3bb56c38e (patch)
tree73c97451fcf4fc4d0abcce8a3b7f3a64e759c6f1 /src/wallet
parent91186e59844d6028d689f146d5d58c5e7fc95d58 (diff)
downloadbitcoin-9e2de6b9d0013ed871efbc414d2a23e3bb56c38e.tar.xz
Move cs_main locking annotations from .cpp to .h
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/wallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index e7cdbd372e..d0857bcb72 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -4410,7 +4410,7 @@ bool CMerkleTx::IsImmatureCoinBase() const
return GetBlocksToMaturity() > 0;
}
-bool CWalletTx::AcceptToMemoryPool(const CAmount& nAbsurdFee, CValidationState& state) EXCLUSIVE_LOCKS_REQUIRED(cs_main)
+bool CWalletTx::AcceptToMemoryPool(const CAmount& nAbsurdFee, CValidationState& state)
{
// We must set fInMempool here - while it will be re-set to true by the
// entered-mempool callback, if we did not there would be a race where a