Skip to content

Commit

Permalink
Update src/monitoring_tests/fee_monitoring/fee_monitoring.py
Browse files Browse the repository at this point in the history
Co-authored-by: Felix Henneke <[email protected]>
  • Loading branch information
harisang and fhenneke authored May 21, 2023
1 parent 30048a7 commit bd73de1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/monitoring_tests/fee_monitoring/fee_monitoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ def fee_test(self, tx_hash) -> bool: # pylint: disable=too-many-locals
if len(partially_fillable_indices) > 0:
# get additional data for the batch
receipt = TemplateTest.get_encoded_receipt(tx_hash)
competition_data = TemplateTest.get_solver_competition_data([tx_hash])[0]
competition_data_list = TemplateTest.get_solver_competition_data([tx_hash])
if len(competition_data_list) == 0:
return False
competition_data = competition_data_list[0]

for i in partially_fillable_indices:
# get additional data for the trade
Expand Down

0 comments on commit bd73de1

Please sign in to comment.