Skip to content

Commit

Permalink
cmd: adjust livepeer CLI for max gas price
Browse files Browse the repository at this point in the history
  • Loading branch information
kyriediculous committed Mar 9, 2021
1 parent f4b7fd1 commit d05dd4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/livepeer_cli/livepeer_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func (w *wizard) initializeOptions() []wizardOpt {
{desc: "Invoke \"cancel unlock of broadcasting funds\"", invoke: w.cancelUnlock, notOrchestrator: true},
{desc: "Invoke \"withdraw broadcasting funds\"", invoke: w.withdraw, notOrchestrator: true},
{desc: "Set broadcast config", invoke: w.setBroadcastConfig, notOrchestrator: true},
{desc: "Set Eth gas price", invoke: w.setGasPrice},
{desc: "Set maximum Ethereum gas price", invoke: w.setMaxGasPrice},
{desc: "Get test LPT", invoke: w.requestTokens, testnet: true},
{desc: "Get test ETH", invoke: func() {
fmt.Print("For Rinkeby Eth, go to the Rinkeby faucet (https://faucet.rinkeby.io/).")
Expand Down
2 changes: 1 addition & 1 deletion cmd/livepeer_cli/wizard_eth.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func (w *wizard) setMaxGasPrice() {
"amount": {fmt.Sprintf("%v", amount.String())},
}

httpPostWithParams(fmt.Sprintf("http://%v:%v/setGasPrice", w.host, w.httpPort), val)
httpPostWithParams(fmt.Sprintf("http://%v:%v/setMaxGasPrice", w.host, w.httpPort), val)
}

func (w *wizard) signMessage() {
Expand Down

0 comments on commit d05dd4d

Please sign in to comment.