diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-05-16 18:49:42 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-05-16 20:51:39 +0200 |
commit | 8cfe93e3fcf263bf059f738d5e7d9c94901a7c5a (patch) | |
tree | 22617a885614dd2aaeec64cbd29bad8ca29ead37 /src/wallet/rpc/transactions.cpp | |
parent | ca446f2c59720c1575aeeab9c9d636d98ce8528c (diff) |
Add proper thread safety annotation to `CWallet::GetTxConflicts()`
Diffstat (limited to 'src/wallet/rpc/transactions.cpp')
-rw-r--r-- | src/wallet/rpc/transactions.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/rpc/transactions.cpp b/src/wallet/rpc/transactions.cpp index c87af2ea30..1b06973f78 100644 --- a/src/wallet/rpc/transactions.cpp +++ b/src/wallet/rpc/transactions.cpp @@ -15,6 +15,7 @@ using interfaces::FoundBlock; namespace wallet { static void WalletTxToJSON(const CWallet& wallet, const CWalletTx& wtx, UniValue& entry) + EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet) { interfaces::Chain& chain = wallet.chain(); int confirms = wallet.GetTxDepthInMainChain(wtx); |