Skip to content

Commit

Permalink
fix: get_recommended_gas_fee types
Browse files Browse the repository at this point in the history
Co-authored-by: Raman Siamionau <[email protected]>
  • Loading branch information
avsetsin and Raman Siamionau authored Mar 1, 2022
1 parent 520d625 commit 5d116d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/utils/gas_strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def get_gas_fee_percentile(self, days: int, percentile: int) -> float:
gas_percentile = int(numpy.percentile(blocks_to_count_percentile, percentile))
return gas_percentile

def get_recommended_gas_fee(self, percentiles: Iterable[Tuple[int, int]], force = False) -> float:
def get_recommended_gas_fee(self, percentiles: Iterable[Tuple[int, int]], force: bool = False) -> float:
"""Returns the recommended gas fee"""
if force:
return self.max_gas_fee
Expand Down

0 comments on commit 5d116d9

Please sign in to comment.