Skip to content

Commit

Permalink
FIX: no wallet refresh upon startup (faster to start app)
Browse files Browse the repository at this point in the history
  • Loading branch information
Overtorment committed Feb 10, 2019
1 parent 8d48489 commit dceeb14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BlueApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async function startAndDecrypt(retry) {
let securityAlert = require('./security-alert');
await securityAlert.start();
// now, lets try to fetch balance and txs for first wallet if it is time for it
let hadToRefresh = false;
/* let hadToRefresh = false;
let noErr = true;
try {
let wallets = BlueApp.getWallets();
Expand All @@ -58,7 +58,7 @@ async function startAndDecrypt(retry) {
if (hadToRefresh && noErr) {
await BlueApp.saveToDisk(); // caching
}
} */
}

if (!success && password) {
Expand Down

0 comments on commit dceeb14

Please sign in to comment.