Skip to content

Commit

Permalink
Fix white space
Browse files Browse the repository at this point in the history
  • Loading branch information
gr8h committed Jan 12, 2024
1 parent e2bbec6 commit 1704ad4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public UInt256 GetGasPriceEstimate()

IEnumerable<UInt256> txGasPrices = GetSortedGasPricesFromRecentBlocks(headBlock.Number);
UInt256 gasPriceEstimate = GetGasPriceAtPercentile(txGasPrices.ToList()) ?? GetMinimumGasPrice(headBlock.BaseFeePerGas);
gasPriceEstimate = UInt256.Max(gasPriceEstimate, GetMinimumGasPrice(headBlock.BaseFeePerGas));
gasPriceEstimate = UInt256.Max(gasPriceEstimate, GetMinimumGasPrice(headBlock.BaseFeePerGas));
gasPriceEstimate = UInt256.Min(gasPriceEstimate!, EthGasPriceConstants.MaxGasPrice);
_gasPriceEstimation.Set(headBlockHash, gasPriceEstimate);
return gasPriceEstimate!;
Expand Down

0 comments on commit 1704ad4

Please sign in to comment.