Skip to content

Commit

Permalink
match class types not string.
Browse files Browse the repository at this point in the history
  • Loading branch information
spew committed May 26, 2014
1 parent b81705f commit dd2e00e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/BitcoinApplication.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class BitcoinApplication(configuration: ProgramConfiguration) {
wallet().addKey(new ECKey());
}
}
if (configuration.networkName == "regtest") {
if (kit.getClass == RegTestParams.get().getClass) {
kit.connectToLocalHost()
}
kit
Expand Down

0 comments on commit dd2e00e

Please sign in to comment.