Skip to content

Commit

Permalink
Fix error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
barak manos committed Jun 11, 2024
1 parent fe385fa commit d7fe8ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastlane_bot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ def _handle_trade_instructions(
)
return tx_hash, tx_receipt
except Exception as e:
if "max fee per gas less than block base fee" in str(e):
if "less than block base fee" in str(e):
self.ConfigObj.logger.error(f"{e}; retrying...")
else:
raise

0 comments on commit d7fe8ec

Please sign in to comment.