ethclient/simulated: fix typo (#28952)

(ethclient/simulated):fix typo
pull/28956/head
alex 10 months ago committed by GitHub
parent 2ab365f6d8
commit 2dc33d46b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      ethclient/simulated/options.go

@ -44,7 +44,7 @@ func WithCallGasLimit(gaslimit uint64) func(nodeConf *node.Config, ethConf *ethc
// gas tip for a transaction to be included. // gas tip for a transaction to be included.
// //
// 0 is not possible as a live Geth node would reject that due to DoS protection, // 0 is not possible as a live Geth node would reject that due to DoS protection,
// so the simulated backend will replicate that behavior for consisntency. // so the simulated backend will replicate that behavior for consistency.
func WithMinerMinTip(tip *big.Int) func(nodeConf *node.Config, ethConf *ethconfig.Config) { func WithMinerMinTip(tip *big.Int) func(nodeConf *node.Config, ethConf *ethconfig.Config) {
if tip == nil || tip.Cmp(new(big.Int)) <= 0 { if tip == nil || tip.Cmp(new(big.Int)) <= 0 {
panic("invalid miner minimum tip") panic("invalid miner minimum tip")

Loading…
Cancel
Save