Skip to content

Commit

Permalink
fixup! cmd: tx timeout flag
Browse files Browse the repository at this point in the history
  • Loading branch information
kyriediculous committed Jul 14, 2021
1 parent 67c5961 commit 1f4d259
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/livepeer/livepeer.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func main() {
ethOrchAddr := flag.String("ethOrchAddr", "", "ETH address of an on-chain registered orchestrator")
ethUrl := flag.String("ethUrl", "", "Ethereum node JSON-RPC URL")
txTimeout := flag.Duration("transactionTimeout", 5*time.Minute, "Amount of time to wait for an Ethereum transaction to confirm before timing out")
maxTxReplacements := flag.Int("maxTransactionReplacements", 0, "Number of times to automatically replace pending Ethereum transactions")
maxTxReplacements := flag.Int("maxTransactionReplacements", 1, "Number of times to automatically replace pending Ethereum transactions")
gasLimit := flag.Int("gasLimit", 0, "Gas limit for ETH transactions")
maxGasPrice := flag.Int("maxGasPrice", 0, "Maximum gas price for ETH transactions")
ethController := flag.String("ethController", "", "Protocol smart contract address")
Expand Down
1 change: 0 additions & 1 deletion eth/transactionManager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,6 @@ func TestTransactionManager_CheckTxLoop(t *testing.T) {

sink := make(chan *transactionReceipt, 10)
sub := tm.Subscribe(sink)
defer sub.Unsubscribe()
tm.SendTransaction(context.Background(), stubTx)

event := <-sink
Expand Down

0 comments on commit 1f4d259

Please sign in to comment.