Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ethereum-package
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
ethereum-package
Commits
fab39957
Unverified
Commit
fab39957
authored
Oct 06, 2023
by
Gyanendra Mishra
Committed by
GitHub
Oct 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: re run custom flood whenever it crashes (#264)
Closes #245
parent
d29f98e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
sender.py
src/mev_custom_flood/sender.py
+9
-1
No files found.
src/mev_custom_flood/sender.py
View file @
fab39957
...
@@ -55,6 +55,14 @@ def flood():
...
@@ -55,6 +55,14 @@ def flood():
assert
tx
[
"from"
]
==
sender_account
.
address
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__"
:
if
__name__
==
"__main__"
:
flood
()
run_infinitely
()
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment