aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/app.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app.js b/src/app.js
index 96f47f9..a644cbd 100644
--- a/src/app.js
+++ b/src/app.js
@@ -1334,6 +1334,10 @@ async function openWallet(input, opts = {}) {
// Register a full (seed) wallet as an account and open it.
async function enterWallet(mnemonic, passphrase, opts = {}) {
+ // A wallet opening is a new set of numbers: the count-up animation must
+ // not run from the previous account's balance (a fresh wallet used to
+ // count DOWN from the old one to zero).
+ _amtLast.clear();
const acc = addOrGetAccount({
type: 'full',
label: defaultLabel('full'),