You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Refactoring] Make CWallet::FundTransaction atomic
>>> Inspired by bitcoin#11864 (+bitcoin#10784)
Since CreateTransaction still needs cs_main we need to obtain both locks
in FundTransaction, to preserve locking order.
After introducing the chain interface (bitcoin#14437) we can change the
LOCK2(cs_main, cs_wallet) to just LOCK(cs_wallet)
0 commit comments