Skip to content

Commit

Permalink
fixup coinjoin loader on proper position
Browse files Browse the repository at this point in the history
  • Loading branch information
knst committed Jul 28, 2024
1 parent bc50bf8 commit ca3908d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4950,6 +4950,8 @@ std::shared_ptr<CWallet> CWallet::Create(interfaces::Chain* chain, interfaces::C
return nullptr;
}

coinjoin_loader.AddWallet(*walletInstance);

{
LOCK(cs_wallets);
for (auto& load_wallet : g_load_wallet_fns) {
Expand Down Expand Up @@ -5058,8 +5060,6 @@ bool CWallet::AttachChain(const std::shared_ptr<CWallet>& walletInstance, interf
walletInstance->GetDatabase().IncrementUpdateCounter();
}

coinjoin_loader.AddWallet(*walletInstance);

return true;
}

Expand Down

0 comments on commit ca3908d

Please sign in to comment.