Skip to content

Commit

Permalink
Merge pull request #794 from LedgerHQ/hzheng-ledger-patch-1
Browse files Browse the repository at this point in the history
Revert commit b53bdfb to fix live error
  • Loading branch information
hzheng-ledger committed Jun 15, 2021
2 parents f396970 + df97ca8 commit 845b1b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/wallet/common/AbstractAccount.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ namespace ledger {
namespace core {

AbstractAccount::AbstractAccount(const std::shared_ptr<AbstractWallet> &wallet, int32_t index)
: DedicatedContext(wallet->getPool()->getDispatcher()->getThreadPoolExecutionContext(fmt::format("account_{}_{}", wallet->getName(), index)))
: DedicatedContext(wallet->getMainExecutionContext())
{
_uid = AccountDatabaseHelper::createAccountUid(wallet->getWalletUid(), index);
_logger = wallet->logger();
Expand Down

0 comments on commit 845b1b6

Please sign in to comment.