Skip to content

Commit

Permalink
fix: include args for __exit__ func sig (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeshultz authored Nov 24, 2023
1 parent 8b313b1 commit 2e00106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion silverback/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(self, settings: Optional[Settings] = None):
# NOTE: This allows using connected ape methods e.g. `Contract`
provider = self.network.__enter__()

atexit.register(self.network.__exit__)
atexit.register(self.network.__exit__, None, None, None)

self.signer = settings.get_signer()
self.new_block_timeout = settings.NEW_BLOCK_TIMEOUT
Expand Down

0 comments on commit 2e00106

Please sign in to comment.