Skip to content

Commit

Permalink
Merge pull request #2646 from oscarguindzberg/regtest-fix
Browse files Browse the repository at this point in the history
 Bugfix for bitcoinRegtestHost=none mode
  • Loading branch information
ManfredKarrer authored Apr 4, 2019
2 parents 97c3d5b + cc73c5e commit 9a6a03f
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 9a6a03f

Please sign in to comment.