aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_fundrawtransaction.py
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2024-06-26 13:42:55 +0200
committerSjors Provoost <sjors@sprovoost.nl>2024-06-27 08:58:25 +0200
commita74b0f93efa1d9eaf5abc2f6591c44a632aec6ed (patch)
treefdba4752f6cec737b715d7a226a41a65dfdc885e /test/functional/wallet_fundrawtransaction.py
parentf6dc6db44ddc22ade96a69a02908f14cfb279a37 (diff)
Have testBlockValidity hold cs_main instead of caller
The goal of interfaces is to eventually run in their own process, so we can't use EXCLUSIVE_LOCKS_REQUIRED in their declaration. However TestBlockValidaty will crash (in its call to ConnectBlock) if the tip changes from under the proposed block. Have the testBlockValidity implementation hold the lock instead, and non-fatally check for this condition.
Diffstat (limited to 'test/functional/wallet_fundrawtransaction.py')
0 files changed, 0 insertions, 0 deletions