Skip to content

Commit

Permalink
fix: swap string to number
Browse files Browse the repository at this point in the history
  • Loading branch information
0xApotheosis committed Aug 11, 2023
1 parent 38f420f commit 69f6033
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/swapper/swappers/CowSwapper/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const cowApi: Swapper2Api = {
// from,
sellTokenBalance: ERC20_TOKEN_BALANCE,
buyTokenBalance: ERC20_TOKEN_BALANCE,
quoteId: id.toString(),
quoteId: id,
}

const adapter = assertGetEvmChainAdapter(sellAsset.chainId)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export type CowSwapOrder = {
receiver: string
sellTokenBalance: string
buyTokenBalance: string
quoteId: string
quoteId: number
}

export type CowSwapQuoteApiInputBase = {
Expand Down

0 comments on commit 69f6033

Please sign in to comment.