diff --git a/core/src/main/java/bisq/core/app/DomainInitialisation.java b/core/src/main/java/bisq/core/app/DomainInitialisation.java index 8bdc28c989..a5aa26c236 100644 --- a/core/src/main/java/bisq/core/app/DomainInitialisation.java +++ b/core/src/main/java/bisq/core/app/DomainInitialisation.java @@ -196,12 +196,12 @@ public class DomainInitialisation { tradeLimits.onAllServicesInitialized(); + tradeManager.onAllServicesInitialized(); arbitrationManager.onAllServicesInitialized(); mediationManager.onAllServicesInitialized(); refundManager.onAllServicesInitialized(); traderChatManager.onAllServicesInitialized(); - tradeManager.onAllServicesInitialized(); closedTradableManager.onAllServicesInitialized(); failedTradesManager.onAllServicesInitialized(); xmrTxProofService.onAllServicesInitialized(); diff --git a/p2p/src/main/java/bisq/network/p2p/P2PService.java b/p2p/src/main/java/bisq/network/p2p/P2PService.java index 0bac8ac70b..6f363ddc31 100644 --- a/p2p/src/main/java/bisq/network/p2p/P2PService.java +++ b/p2p/src/main/java/bisq/network/p2p/P2PService.java @@ -334,13 +334,12 @@ public class P2PService implements SetupListener, MessageListener, ConnectionLis p2PDataStorage.onBootstrapped(); - // We don't use a listener at mailboxMessageService as we require the correct - // order of execution. The p2pServiceListeners must be called after - // mailboxMessageService.onUpdatedDataReceived. - mailboxMessageService.onBootstrapped(); - // Once we have applied the state in the P2P domain we notify our listeners p2pServiceListeners.forEach(listenerHandler); + + // We don't use a listener at mailboxMessageService as we require the correct + // order of execution. The p2pServiceListeners must be called before. + mailboxMessageService.onBootstrapped(); } }