Skip to content

Commit

Permalink
fix: do not wait for refresh to finish on wallet create
Browse files Browse the repository at this point in the history
  • Loading branch information
limpbrains committed Oct 7, 2024
1 parent 8491108 commit fc26e1a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/wallet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,7 @@ export class Wallet {
const res = await wallet.setWalletData();
if (res.isErr()) return err(res.error.message);
wallet.updateFeeEstimates(true);
console.log('Syncing Wallet...');
await wallet.refreshWallet({});
wallet.refreshWallet({});
if (wallet._disableMessagesOnCreate) wallet.disableMessages = false;
return ok(wallet);
} catch (e) {
Expand Down

0 comments on commit fc26e1a

Please sign in to comment.