mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
legacy tx if gasPrice provided
This commit is contained in:
parent
3d29c1f39d
commit
31e2cc9c6d
1 changed files with 6 additions and 1 deletions
|
|
@ -187,7 +187,12 @@ func (mc *multicall) execute(ctx context.Context, opts mcOpts) ([]mcBlockResult,
|
|||
if err := call.validateAll(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
tx := call.ToTransaction(true)
|
||||
// Default to dynamic-fee transaction type.
|
||||
type2 := true
|
||||
if call.GasPrice != nil {
|
||||
type2 = false
|
||||
}
|
||||
tx := call.ToTransaction(type2)
|
||||
txes[i] = tx
|
||||
// TODO: repair log block hashes post execution.
|
||||
vmConfig := &vm.Config{
|
||||
|
|
|
|||
Loading…
Reference in a new issue