Skip to content

Commit

Permalink
fix: black fix
Browse files Browse the repository at this point in the history
  • Loading branch information
johnson2427 committed Jul 30, 2024
1 parent 5906e31 commit b98575a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uniswap_sdk/v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def get_pools(self, token: AddressType) -> Iterator["Pool"]:
yield Pool(address)

def get_all_pools(self) -> Iterator["Pool"]:
df = self.contract.PairCreated.query("*", start_block=-1000)
df = self.contract.PairCreated.query("*", start_block=-1000)
pairs = df["event_arguments"].apply(lambda x: x.get("pair"))
for pair in pairs:
yield Pool(pair)
Expand Down

0 comments on commit b98575a

Please sign in to comment.