Skip to content

Commit

Permalink
Rebase fix
Browse files Browse the repository at this point in the history
  • Loading branch information
goran-ethernal committed Feb 26, 2024
1 parent 0784889 commit 8f35c73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jsonrpc/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ func (args *txnArgs) setFeeDefaults(priceLimit uint64, store ethStore) error {
return fmt.Errorf("maxFeePerGas (%v) < maxPriorityFeePerGas (%v)", args.MaxFeePerGas, args.MaxPriorityFeePerGas)
}

args.Type = argUintPtr(uint64(types.DynamicFeeTx))
args.Type = argUintPtr(uint64(types.DynamicFeeTxType))

return nil // No need to set anything, user already set MaxFeePerGas and MaxPriorityFeePerGas
}
Expand Down Expand Up @@ -548,7 +548,7 @@ func (args *txnArgs) setLondonFeeDefaults(head *types.Header, store ethStore) er
return fmt.Errorf("maxFeePerGas (%v) < maxPriorityFeePerGas (%v)", args.MaxFeePerGas, args.MaxPriorityFeePerGas)
}

args.Type = argUintPtr(uint64(types.DynamicFeeTx))
args.Type = argUintPtr(uint64(types.DynamicFeeTxType))

return nil
}
Expand Down

0 comments on commit 8f35c73

Please sign in to comment.