mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
Update state_transition.go
This commit is contained in:
parent
033c1ed8bd
commit
f3b04b6e49
1 changed files with 0 additions and 3 deletions
|
|
@ -533,9 +533,6 @@ func (st *stateTransition) execute() (*ExecutionResult, error) {
|
|||
effectiveTip := msg.GasPrice
|
||||
if rules.IsLondon {
|
||||
effectiveTip = new(big.Int).Sub(msg.GasPrice, st.evm.Context.BaseFee)
|
||||
if effectiveTip.Cmp(msg.GasTipCap) > 0 {
|
||||
effectiveTip = msg.GasTipCap
|
||||
}
|
||||
}
|
||||
effectiveTipU256, _ := uint256.FromBig(effectiveTip)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue