fix NPE (#603)
This commit is contained in:
parent
2774f99b15
commit
f7cef24a83
|
@ -290,7 +290,7 @@ public class WalletService extends Service {
|
|||
showProgress(10);
|
||||
Wallet.Status walletStatus = start(walletId, walletPw);
|
||||
if (observer != null) observer.onWalletStarted(walletStatus);
|
||||
if (!walletStatus.isOk()) {
|
||||
if ((walletStatus == null) || !walletStatus.isOk()) {
|
||||
errorState = true;
|
||||
stop();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue