Spaces:
Running
Running
fix: network loop
Browse files
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 |
-
|
| 133 |
-
for
|
| 134 |
-
|
| 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
|