Skip to content

Commit

Permalink
fix: data is implicated
Browse files Browse the repository at this point in the history
  • Loading branch information
gosuto-inzasheru committed Sep 9, 2024
1 parent cd1d51c commit 3ce6514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bal_tools/pools_gauges.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def get_preferential_gauge(self, pool_id: str) -> bool:
try:
return to_checksum_address(self.subgraph.fetch_graphql_data(
"apiv3", "get_pool_preferential_gauge", {"chain": self.chain.upper(), "poolId": pool_id}
)["data"]["poolGetPool"]["staking"]["gauge"]["gaugeAddress"])
)["poolGetPool"]["staking"]["gauge"]["gaugeAddress"])
except:
return None

Expand Down

0 comments on commit 3ce6514

Please sign in to comment.