From c49c8e594ad9b4b7d58b9cf7a157964a1bb17d36 Mon Sep 17 00:00:00 2001 From: derekpierre Date: Mon, 18 Sep 2023 09:38:00 -0400 Subject: [PATCH] Fix linter error. --- porter/main.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/porter/main.py b/porter/main.py index b6bf5bd..2e4cfac 100644 --- a/porter/main.py +++ b/porter/main.py @@ -98,8 +98,14 @@ def __init__(self, BlockchainInterfaceFactory.initialize_interface(eth_provider_uri=eth_provider_uri) self.eth_provider_uri = eth_provider_uri - self.registry = registry or InMemoryContractRegistry.from_latest_publication(network=domain) - self.application_agent = ContractAgency.get_agent(TACoApplicationAgent, registry=self.registry, provider_uri=self.eth_provider_uri) + self.registry = registry or InMemoryContractRegistry.from_latest_publication( + network=domain + ) + self.application_agent = ContractAgency.get_agent( + TACoApplicationAgent, + registry=self.registry, + provider_uri=self.eth_provider_uri, + ) super().__init__(save_metadata=True, domain=domain, node_class=node_class, *args, **kwargs)