Skip to content

Commit

Permalink
chore: black .
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 10, 2024
1 parent a172d78 commit 5063695
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eth_portfolio/_ledgers/address.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,15 +257,15 @@ async def sent(
self, start_block: Optional[Block] = None, end_block: Optional[Block] = None
) -> AsyncIterator[T]:
address = self.portfolio_address.address
async for obj in self[start_block: end_block]:
async for obj in self[start_block:end_block]:
if obj.from_address == address:
yield obj

async def received(
self, start_block: Optional[Block] = None, end_block: Optional[Block] = None
) -> AsyncIterator[T]:
address = self.portfolio_address.address
async for obj in self[start_block: end_block]:
async for obj in self[start_block:end_block]:
if obj.from_address != address:
yield obj

Expand Down

0 comments on commit 5063695

Please sign in to comment.