From 0c8d145f73cd6a861fcaed5e8d349d0e381f39f7 Mon Sep 17 00:00:00 2001 From: Brendon Duncan Date: Fri, 21 Sep 2018 02:54:06 -0700 Subject: [PATCH] Check validity of cachedStatus. --- src/js/controllers/wallet-selector.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/controllers/wallet-selector.controller.js b/src/js/controllers/wallet-selector.controller.js index 694852f0f..036727333 100644 --- a/src/js/controllers/wallet-selector.controller.js +++ b/src/js/controllers/wallet-selector.controller.js @@ -145,7 +145,7 @@ angular var walletStatus = null; if (wallet.status && wallet.status.isValid) { walletStatus = wallet.status; - } else if (wallet.cachedStatus) { + } else if (wallet.cachedStatus && wallet.status.isValid) { walletStatus = wallet.cachedStatus; }