Skip to content

Commit

Permalink
fixed imports
Browse files Browse the repository at this point in the history
  • Loading branch information
UrsZeidler committed Feb 8, 2017
1 parent 3de8e22 commit 58c9e27
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,17 @@ public class EthereumInstance{
String property = System.getProperty("EthereumFacadeProvider");
if(property!=null){
if (property.equalsIgnoreCase("main")) {
Builder mainNet = EthereumJConfigs.mainNet();
BlockchainConfig.Builder mainNet = EthereumJConfigs.mainNet();
//[protected ('for setup the main chain')]
//[/protected]
ethereum = EthereumFacadeProvider.forNetwork(mainNet).create();
}else if (property.equalsIgnoreCase("test")) {
Builder testnet = EthereumJConfigs.etherCampTestnet();
BlockchainConfig.Builder testnet = EthereumJConfigs.etherCampTestnet();
//[protected ('for setup the test chain')]
//[/protected]
ethereum = EthereumFacadeProvider.forNetwork(testnet).create();
}else if (property.equalsIgnoreCase("ropsten")) {
Builder ropsten = EthereumJConfigs.ropsten();
BlockchainConfig.Builder ropsten = EthereumJConfigs.ropsten();
//[protected ('for setup the ropsten chain')]
//[/protected]
ethereum = EthereumFacadeProvider.forNetwork(ropsten).create();
Expand All @@ -157,7 +157,7 @@ public class EthereumInstance{
//[/protected]
ethereum = new PrivateEthereumFacadeProvider().create(config);
}else if (property.equalsIgnoreCase("custom")){
Builder config = BlockchainConfig.builder();
BlockchainConfig.Builder config = BlockchainConfig.builder();
//[protected ('for setup the custom chain')]
//[/protected]
ethereum = EthereumFacadeProvider.forNetwork(config).create();
Expand Down

0 comments on commit 58c9e27

Please sign in to comment.