mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Check migratedWalletToSegwit is true
This commit is contained in:
parent
87da2ae349
commit
261e0ec714
@ -305,7 +305,11 @@ public class WalletConfig extends AbstractIdleService {
|
||||
if (migratedWalletToSegwit.get()) {
|
||||
startPeerGroup();
|
||||
} else {
|
||||
migratedWalletToSegwit.addListener((observable, oldValue, newValue) -> startPeerGroup());
|
||||
migratedWalletToSegwit.addListener((observable, oldValue, newValue) -> {
|
||||
if (newValue) {
|
||||
startPeerGroup();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
} catch (BlockStoreException e) {
|
||||
|
Loading…
Reference in New Issue
Block a user