ColettoG commited on
Commit
7a5d90a
·
1 Parent(s): 25baca9

fix: network loop

Browse files
Files changed (1) hide show
  1. src/agents/swap/config.py +4 -5
src/agents/swap/config.py CHANGED
@@ -128,11 +128,10 @@ class SwapConfig:
128
  }
129
 
130
  # Optional allow list of directional routes (canonical network names).
131
- _SUPPORTED_ROUTES: Set[Tuple[str, str]] = {
132
- (src, dst)
133
- for src in _NETWORK_TOKENS.keys()
134
- for dst in _NETWORK_TOKENS.keys()
135
- }
136
 
137
  # ---------- Public helpers ----------
138
  @classmethod
 
128
  }
129
 
130
  # Optional allow list of directional routes (canonical network names).
131
+ _SUPPORTED_ROUTES: Set[Tuple[str, str]] = set()
132
+ for _src in _NETWORK_TOKENS.keys():
133
+ for _dst in _NETWORK_TOKENS.keys():
134
+ _SUPPORTED_ROUTES.add((_src, _dst))
 
135
 
136
  # ---------- Public helpers ----------
137
  @classmethod