mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
Fix initialization ordering issue
TradeManager must be inited before MailboxMessageService
This commit is contained in:
parent
cee20edfce
commit
b3263be5e9
@ -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();
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user