Skip to content

Commit 80b3347

Browse files
committed
fix(pools): use get_pool_state instead of get_pool_params
Replace deprecated usage of `get_pool_params` with `get_pool_state`.
1 parent 50263a5 commit 80b3347

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cardano_node_tests/tests/test_pools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ def test_stake_pool_not_avail_metadata(
761761
# and will insert an error on the specific table
762762
# https://github.com/IntersectMBO/cardano-db-sync/blob/master/doc/pool-offchain-data.md
763763
if configuration.HAS_DBSYNC:
764-
pool_params = cluster.g_query.get_pool_params(
764+
pool_params = cluster.g_query.get_pool_state(
765765
stake_pool_id=pool_creation_out.stake_pool_id
766766
).pool_params
767767

0 commit comments

Comments
 (0)