Skip to content

Commit

Permalink
Removed temp fix for static prio fee
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspanf committed Sep 6, 2024
1 parent ed5292a commit 959d048
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions rocketpool/node/auto-init-voting-power.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,6 @@ func (t *autoInitVotingPower) submitInitializeVotingPower() error {
return nil
}

// Lower the priority fee when the suggested maxfee is lower than the user requested priority fee
if maxFee.Cmp(t.maxPriorityFee) < 0 {
t.maxPriorityFee = new(big.Int).Div(maxFee, big.NewInt(2))
}

opts.GasFeeCap = maxFee
opts.GasTipCap = t.maxPriorityFee
opts.GasLimit = gas.Uint64()
Expand Down

0 comments on commit 959d048

Please sign in to comment.