Check validity of cachedStatus.

This commit is contained in:
Brendon Duncan 2018-09-21 02:54:06 -07:00
commit 0c8d145f73

View file

@ -145,7 +145,7 @@ angular
var walletStatus = null; var walletStatus = null;
if (wallet.status && wallet.status.isValid) { if (wallet.status && wallet.status.isValid) {
walletStatus = wallet.status; walletStatus = wallet.status;
} else if (wallet.cachedStatus) { } else if (wallet.cachedStatus && wallet.status.isValid) {
walletStatus = wallet.cachedStatus; walletStatus = wallet.cachedStatus;
} }