From 4eea557f771d0a518c9970d7a0f72235777f7af9 Mon Sep 17 00:00:00 2001 From: Nico Vergauwen Date: Fri, 25 Oct 2019 21:33:18 +0200 Subject: [PATCH] fixup! fixup! fixup! fixup! fixup! fixup! eth: eth client wrapper --- cmd/livepeer_cli/livepeer_cli.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/livepeer_cli/livepeer_cli.go b/cmd/livepeer_cli/livepeer_cli.go index e464db79dd..48cb13db29 100644 --- a/cmd/livepeer_cli/livepeer_cli.go +++ b/cmd/livepeer_cli/livepeer_cli.go @@ -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" }