From 1b1855956438eb8400ed733456a6733942dfc3e9 Mon Sep 17 00:00:00 2001 From: BobTheBuidler <70677534+BobTheBuidler@users.noreply.github.com> Date: Thu, 15 Aug 2024 12:19:19 -0400 Subject: [PATCH] chore: refactor ExternalBalances (#81) --- eth_portfolio/protocols/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eth_portfolio/protocols/__init__.py b/eth_portfolio/protocols/__init__.py index a927008f..389ed2d6 100644 --- a/eth_portfolio/protocols/__init__.py +++ b/eth_portfolio/protocols/__init__.py @@ -14,8 +14,7 @@ class ExternalBalances: - def __init__(self) -> None: - self.protocols: List[StakingPoolABC] = _get_protocols_for_submodule() # type: ignore + protocols: List[StakingPoolABC] = _get_protocols_for_submodule() # type: ignore @a_sync.future async def balances(self, address: Address, block: Optional[Block] = None) -> RemoteTokenBalances: