mirror of
https://github.com/boldsuck/haveno.git
synced 2025-01-03 14:49:25 +00:00
add error message if improperly registered seednode
This commit is contained in:
parent
d0a6646bcd
commit
b33f53f9a5
1 changed files with 1 additions and 0 deletions
|
@ -436,6 +436,7 @@ public class TradeManager implements PersistedDataHost, DecryptedDirectMessageLi
|
|||
xmrWalletService.setTradeManager(this);
|
||||
|
||||
// process after all wallets initialized
|
||||
if (HavenoUtils.havenoSetup == null) throw new IllegalStateException("HavenoSetup is null; is this an improperly registered seed node?");
|
||||
MonadicBinding<Boolean> walletsInitialized = EasyBind.combine(HavenoUtils.havenoSetup.getWalletInitialized(), persistedTradesInitialized, (a, b) -> a && b);
|
||||
walletsInitialized.subscribe((observable, oldValue, newValue) -> {
|
||||
if (!newValue) return;
|
||||
|
|
Loading…
Reference in a new issue