Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! eth: eth client wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico Vergauwen authored and Nico Vergauwen committed Oct 25, 2019
1 parent afb1e0a commit 4eea557
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/livepeer_cli/livepeer_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,11 @@ func (w *wizard) doCLIOpt(choice string, options []wizardOpt) {
log.Error("That's not something I can do")
}

var RinkebychainID = "4"
var DevenvchainID = "54321"
var RinkebyChainID = "4"
var DevenvChainID = "54321"

func (w *wizard) checkNet() {
nID := httpGet(fmt.Sprintf("http://%v:%v/EthChainID", w.host, w.httpPort))
w.testnet = nID == RinkebychainID || nID == DevenvchainID
w.testnet = nID == RinkebyChainID || nID == DevenvChainID
w.offchain = nID == "offchain"
}

0 comments on commit 4eea557

Please sign in to comment.