mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-25 07:10:48 -04:00
Add support for btc network version for p2p network messages
This commit is contained in:
parent
7c4bf8680b
commit
09321c89b3
45 changed files with 199 additions and 178 deletions
|
@ -132,6 +132,8 @@ public class BitsquareApp extends Application {
|
|||
injector = Guice.createInjector(bitsquareAppModule);
|
||||
injector.getInstance(InjectorViewFactory.class).setInjector(injector);
|
||||
|
||||
Version.NETWORK_ID = injector.getInstance(BitsquareEnvironment.class).getBitcoinNetwork().ordinal();
|
||||
|
||||
// load the main view and create the main scene
|
||||
CachingViewLoader viewLoader = injector.getInstance(CachingViewLoader.class);
|
||||
mainView = (MainView) viewLoader.load(MainView.class);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue