aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/psbt.cpp
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2022-09-20 00:36:47 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2022-09-20 00:46:27 +0000
commita60d9eb9e6b6a272a3fca8981d89a55955dced55 (patch)
tree5c0e37886ecb14790b940c077da6db144b901ee3 /src/test/fuzz/psbt.cpp
parent831675c8dccfa6525ffe751da3cc60709c380953 (diff)
Bugfix: Wallet: Lock cs_wallet for SignMessage
cs_desc_main is typically locked within scope of a cs_wallet lock, but: CWallet::IsLocked locks cs_wallet ...called from DescriptorScriptPubKeyMan::GetKeys ...called from DescriptorScriptPubKeyMan::GetSigningProvider which locks cs_desc_main first, but has no access to cs_wallet ...called from DescriptorScriptPubKeyMan::SignMessage ...called from CWallet::SignMessage which can access and lock cs_wallet Resolve the out of order locks by grabbing cs_wallet in CWallet::SignMessage first
Diffstat (limited to 'src/test/fuzz/psbt.cpp')
0 files changed, 0 insertions, 0 deletions