Skip to content

Commit

Permalink
Fix long UTXO sync on wallet import (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
JSKitty committed Jul 12, 2023
1 parent aac4a10 commit 69be03e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,10 @@ export async function importWallet({
}

// Fetch state from explorer, if this import was post-startup
if (getNetwork().enabled && !fStartup) refreshChainData();
if (getNetwork().enabled && !fStartup) {
refreshChainData();
getNetwork().getUTXOs();
}

// Hide all wallet starter options
hideAllWalletOptions();
Expand Down

0 comments on commit 69be03e

Please sign in to comment.