Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix long UTXO sync on wallet import #154

Merged
merged 1 commit into from
Jul 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion scripts/wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@
fRaw = false,
isHardwareWallet = false,
skipConfirmation = false,
fSavePublicKey = false,

Check warning on line 587 in scripts/wallet.js

View workflow job for this annotation

GitHub Actions / ESLint

scripts/wallet.js#L587

'fSavePublicKey' is assigned a value but never used (@typescript-eslint/no-unused-vars)
fStartup = false,
} = {}) {
const strImportConfirm =
Expand Down Expand Up @@ -742,7 +742,10 @@
}

// 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
Loading