mirror of
https://github.com/bisq-network/bisq.git
synced 2025-01-19 05:44:05 +01:00
Always use AppSetupWithP2PAndDAO independent of isDaoFullNode
This commit is contained in:
parent
ba4a3a8918
commit
a677a5b1a2
@ -18,9 +18,7 @@
|
||||
package bisq.seednode;
|
||||
|
||||
import bisq.core.app.misc.AppSetup;
|
||||
import bisq.core.app.misc.AppSetupWithP2P;
|
||||
import bisq.core.app.misc.AppSetupWithP2PAndDAO;
|
||||
import bisq.core.user.Preferences;
|
||||
|
||||
import com.google.inject.Injector;
|
||||
|
||||
@ -37,8 +35,7 @@ public class SeedNode {
|
||||
}
|
||||
|
||||
public void startApplication() {
|
||||
boolean isDaoFullNode = injector.getInstance(Preferences.class).isDaoFullNode();
|
||||
appSetup = isDaoFullNode ? injector.getInstance(AppSetupWithP2PAndDAO.class) : injector.getInstance(AppSetupWithP2P.class);
|
||||
appSetup = injector.getInstance(AppSetupWithP2PAndDAO.class);
|
||||
appSetup.start();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user