File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/data/providers/balancer-api/modules/sorSwapPaths Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import { DocumentNode, print } from 'graphql';
1010import {
1111 sorGetSwapPathsQuery ,
1212 sorGetSwapPathsQueryVariables ,
13+ GqlChain ,
1314} from '../../generated/types' ;
1415
1516// Re-export the original type for backward compatibility
@@ -117,7 +118,7 @@ export class SorSwapPaths {
117118
118119 async fetchSorSwapPaths ( sorInput : SorInput ) : Promise < Path [ ] > {
119120 const baseVariables : sorGetSwapPathsQueryVariables = {
120- chain : this . mapGqlChain ( sorInput . chainId ) as any , // Cast to GqlChain
121+ chain : this . mapGqlChain ( sorInput . chainId ) as GqlChain ,
121122 swapAmount : sorInput . swapAmount . toSignificant (
122123 sorInput . swapAmount . token . decimals ,
123124 ) , // Must use human scale
You can’t perform that action at this time.
0 commit comments