mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Check migratedWalletToSegwit is true
This commit is contained in:
parent
87da2ae349
commit
261e0ec714
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue