Commit fab39957 authored by Gyanendra Mishra's avatar Gyanendra Mishra Committed by GitHub

fix: re run custom flood whenever it crashes (#264)

Closes #245
parent d29f98e5
......@@ -55,6 +55,14 @@ def flood():
assert tx["from"] == sender_account.address
def run_infinitely():
while True:
try:
flood()
except Exception as e:
print("e")
print("restarting flood as previous one failed")
if __name__ == "__main__":
flood()
\ No newline at end of file
run_infinitely()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment