From 22cd556e13c9067e3a4fab2bc3a862238e46a513 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Mon, 21 Oct 2019 15:55:55 +0100 Subject: [PATCH] fix blank password wallet state --- src/page/splash/view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/page/splash/view.js b/src/page/splash/view.js index f7b4b3a..b41835f 100644 --- a/src/page/splash/view.js +++ b/src/page/splash/view.js @@ -178,7 +178,7 @@ class SplashScreen extends React.PureComponent { Lbry.wallet_status().then(secureWalletStatus => { // For now, automatically unlock the wallet if a password is set so that downloads work NativeModules.UtilityModule.getSecureValue(Constants.KEY_WALLET_PASSWORD).then(password => { - if (secureWalletStatus.is_locked) { + if ((secureWalletStatus.is_encrypted && !secureWalletStatus.is_locked) || secureWalletStatus.is_locked) { this.setState({ message: 'Unlocking account', details: 'Decrypting wallet',