Skip to content

Commit

Permalink
preserve order of filters
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-p committed Sep 13, 2024
1 parent 46b994d commit 5a87ecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algokit_subscriber_py/subscriber.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self, config: AlgorandSubscriberConfig, algod_client: AlgodClient,
self.started = False
self.stop_requested = False

self.filter_names = list({f['name'] for f in self.config['filters']})
self.filter_names = [f['name'] for f in self.config['filters']]

if config['sync_behaviour'] == 'catchup-with-indexer' and not indexer_client:
raise ValueError("Received sync behaviour of catchup-with-indexer, but didn't receive an indexer instance.")
Expand Down

0 comments on commit 5a87ecc

Please sign in to comment.