improving identation

This commit is contained in:
Frederico 2025-01-02 20:00:49 +01:00
parent e64c573ec2
commit 1f85cae4e0

View File

@ -208,7 +208,10 @@ class TransactionFeeMechanism:
return scaled_demand
def _select_from_sorted_txs(
self, sorted_txs:List[Transaction], stop_below_gas_limit:bool=False, scale_block_size:float=1.0, purge_after:int=4
self,
sorted_txs:List[Transaction],
stop_below_gas_limit:bool=False,
scale_block_size:float=1.0, purge_after:int=4
) -> Tuple[List[Transaction], List[Transaction]]:
# select transactions so that the sum of gas used is less than the block gas limit