aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorJoão Barbosa <joao.paulo.barbosa@gmail.com>2019-03-27 16:59:47 +0000
committerJoão Barbosa <joao.paulo.barbosa@gmail.com>2019-03-27 16:59:47 +0000
commit0440481c6bf5683eff669c789bdf6a306d99adc5 (patch)
treeb95978e65b84bf96512970778ac500249f40826e /src/wallet/wallet.h
parent7b13c646457980f44599412f243694fa682a1abf (diff)
wallet: Move CWallet::ReacceptWalletTransactions locks to callers
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 86448efcaf..24a1b92f7d 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -945,7 +945,7 @@ public:
};
ScanResult ScanForWalletTransactions(const uint256& first_block, const uint256& last_block, const WalletRescanReserver& reserver, bool fUpdate);
void TransactionRemovedFromMempool(const CTransactionRef &ptx) override;
- void ReacceptWalletTransactions();
+ void ReacceptWalletTransactions(interfaces::Chain::Lock& locked_chain) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet);
void ResendWalletTransactions(interfaces::Chain::Lock& locked_chain, int64_t nBestBlockTime) override;
// ResendWalletTransactionsBefore may only be called if fBroadcastTransactions!
std::vector<uint256> ResendWalletTransactionsBefore(interfaces::Chain::Lock& locked_chain, int64_t nTime);