Skip to content
This repository has been archived by the owner on Jul 13, 2022. It is now read-only.

Commit

Permalink
increase default max priority fee to 1 gwei (#705)
Browse files Browse the repository at this point in the history
  • Loading branch information
vezenovm committed Sep 1, 2021
1 parent 95fc717 commit 5c2fd72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connections/ethereum/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func (c *Connection) EstimateGasLondon(ctx context.Context, baseFee *big.Int) (*
var maxFeePerGas *big.Int

if c.maxGasPrice.Cmp(baseFee) < 0 {
maxPriorityFeePerGas = big.NewInt(1)
maxPriorityFeePerGas = big.NewInt(1000000000)
maxFeePerGas = new(big.Int).Add(c.maxGasPrice, maxPriorityFeePerGas)
return maxPriorityFeePerGas, maxFeePerGas, nil
}
Expand Down

0 comments on commit 5c2fd72

Please sign in to comment.