Skip to content

Commit

Permalink
temporary fix wallet not loaded until unlocked
Browse files Browse the repository at this point in the history
  • Loading branch information
panleone committed Oct 12, 2023
1 parent 017dcf9 commit 67f10cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -695,9 +695,9 @@ export async function importWallet({
}

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

// Hide all wallet starter options
Expand Down

0 comments on commit 67f10cc

Please sign in to comment.