mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Add check for areWalletsAvailable
This commit is contained in:
parent
6d5868eaa4
commit
3deb80d23c
@ -93,7 +93,9 @@ public class WalletsManager {
|
||||
}
|
||||
|
||||
public boolean areWalletsEncrypted() {
|
||||
return btcWalletService.isEncrypted() && (!BisqEnvironment.isBaseCurrencySupportingBsq() || bsqWalletService.isEncrypted());
|
||||
return areWalletsAvailable() &&
|
||||
btcWalletService.isEncrypted() &&
|
||||
(!BisqEnvironment.isBaseCurrencySupportingBsq() || bsqWalletService.isEncrypted());
|
||||
}
|
||||
|
||||
public boolean areWalletsAvailable() {
|
||||
|
@ -334,7 +334,7 @@ public class MainViewModel implements ViewModel {
|
||||
|
||||
Timer startupTimeout = UserThread.runAfter(() -> {
|
||||
log.warn("startupTimeout called");
|
||||
if (walletsManager.areWalletsAvailable() && walletsManager.areWalletsEncrypted())
|
||||
if (walletsManager.areWalletsEncrypted())
|
||||
walletInitialized.addListener(walletInitializedListener);
|
||||
else
|
||||
showStartupTimeoutPopup();
|
||||
|
Loading…
Reference in New Issue
Block a user