mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
change default gas limit
This commit is contained in:
parent
53f7872936
commit
76cad9bae5
1 changed files with 1 additions and 1 deletions
|
|
@ -1517,7 +1517,7 @@ func AccessList(ctx context.Context, b Backend, blockNrOrHash rpc.BlockNumberOrH
|
|||
tmp := hexutil.Uint64(b.RPCGasCap())
|
||||
args.Gas = &tmp
|
||||
} else {
|
||||
tmp := hexutil.Uint64(b.CurrentBlock().GasLimit)
|
||||
tmp := hexutil.Uint64(math.MaxUint64 / 2)
|
||||
args.Gas = &tmp
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue