diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2018-04-25 23:16:16 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2018-05-14 14:57:25 +0200 |
commit | 66b0b1b2a6caf9baa2877e414414ec3b37121b8d (patch) | |
tree | 665fe6f01764e55fe9e9f72e9ebcf0547bab9fc4 /src/wallet/feebumper.cpp | |
parent | ea7d6553bc7d5660cb2f90f1642b6d7f57d8bf77 (diff) |
Add compile time checking for all cs_wallet runtime locking assertions
Diffstat (limited to 'src/wallet/feebumper.cpp')
-rw-r--r-- | src/wallet/feebumper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/feebumper.cpp b/src/wallet/feebumper.cpp index 4d70dde72a..7742d5cec4 100644 --- a/src/wallet/feebumper.cpp +++ b/src/wallet/feebumper.cpp @@ -18,7 +18,7 @@ //! Check whether transaction has descendant in wallet or mempool, or has been //! mined, or conflicts with a mined transaction. Return a feebumper::Result. -static feebumper::Result PreconditionChecks(const CWallet* wallet, const CWalletTx& wtx, std::vector<std::string>& errors) +static feebumper::Result PreconditionChecks(const CWallet* wallet, const CWalletTx& wtx, std::vector<std::string>& errors) EXCLUSIVE_LOCKS_REQUIRED(wallet->cs_wallet) { if (wallet->HasWalletSpend(wtx.GetHash())) { errors.push_back("Transaction has descendants in the wallet"); |