Skip to content

Commit

Permalink
chore: black
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Sep 7, 2023
1 parent a8342d8 commit af74a20
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ape_safe/accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,15 +177,17 @@ def local_signers(self) -> List[AccountAPI]:
# NOTE: Is not ordered by signing order
# TODO: Skip per user config
# TODO: Order per user config
if self.network_manager.active_provider and self.provider.network.name == LOCAL_NETWORK_NAME or self.provider.network.name.endswith("-fork"):
if (
self.network_manager.active_provider
and self.provider.network.name == LOCAL_NETWORK_NAME
or self.provider.network.name.endswith("-fork")
):
container = self.account_manager.test_accounts
else:
container = self.account_manager

return list(
container[address]
for address in self.signers
if address in self.account_manager
container[address] for address in self.signers if address in self.account_manager
)

def get_signatures(
Expand Down

0 comments on commit af74a20

Please sign in to comment.