Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Commit f546ffc

Browse files
author
barak manos
committed
Return None when the 2nd call to construct_contract_function fails
1 parent b98bbf0 commit f546ffc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fastlane_bot/helpers/txhelpers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,7 @@ def build_transaction_with_gas(
625625
f"[helpers.txhelpers.build_transaction_with_gas] (***1***) \n"
626626
f"Error when building transaction, this is expected to happen occasionally, discarding. Exception: {e.__class__.__name__} {e}"
627627
)
628+
return None
628629
else:
629630
self.ConfigObj.logger.warning(
630631
f"[helpers.txhelpers.build_transaction_with_gas] (***2***) \n"

0 commit comments

Comments
 (0)