Skip to content

Commit

Permalink
update GasFeeCap for account create cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
sonic committed Jul 16, 2024
1 parent f1568b7 commit 37ab360
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/computing-provider/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ func createAccount(cpRepoPath, ownerAddress, beneficiaryAddress string, workerAd
}

auth.Nonce = big.NewInt(int64(nonce))
suggestGasPrice = suggestGasPrice.Mul(suggestGasPrice, big.NewInt(3))
suggestGasPrice = suggestGasPrice.Div(suggestGasPrice, big.NewInt(2))
auth.GasFeeCap = suggestGasPrice
auth.Context = context.Background()

Expand Down

0 comments on commit 37ab360

Please sign in to comment.