Skip to content

Commit 35c80ef

Browse files
authored
Remove a hacky shortcut for Shuttle and bump its limit (#3322)
1 parent 12998a7 commit 35c80ef

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

wormhole-connect/src/hooks/useFetchSupportedRoutes.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,12 @@ const useFetchSupportedRoutes = (): HookReturn => {
7777
);
7878
}
7979

80-
// HAX
80+
// HAX - Enable Mayan routes (except SHUTTLE) for all assets
8181
// TODO token refactor
82-
if (route.rc.name.includes('Mayan')) {
82+
if (
83+
route.rc.name.includes('Mayan') &&
84+
route.rc.name !== 'MayanSwapSHUTTLE'
85+
) {
8386
supported = true;
8487
}
8588

wormhole-connect/src/hooks/useRoutesQuotesBulk.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ type HookReturn = {
3434
const QUOTE_REFRESH_INTERVAL = 20_000;
3535
const MAYAN_BETA_PROTOCOL_LIMITS = {
3636
MCTP: 10_000,
37-
SHUTTLE: 500,
37+
SHUTTLE: 2000,
3838
};
3939

4040
const useRoutesQuotesBulk = (routes: string[], params: Params): HookReturn => {

0 commit comments

Comments
 (0)