Skip to content

Commit

Permalink
Bugfix for bitcoinRegtestHost=none mode
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarguindzberg committed Apr 4, 2019
1 parent 4e173ac commit cc73c5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/main/java/bisq/core/btc/BitcoinModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ protected void configure() {
RegTestHost.HOST = regTestHost;
if (Arrays.asList("localhost", "127.0.0.1").contains(regTestHost)) {
bind(RegTestHost.class).toInstance(RegTestHost.LOCALHOST);
} else if ("none".equals(regTestHost)) {
bind(RegTestHost.class).toInstance(RegTestHost.NONE);
} else {
bind(RegTestHost.class).toInstance(RegTestHost.REMOTE_HOST);
}
Expand Down

0 comments on commit cc73c5e

Please sign in to comment.