Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
theg committed Jun 18, 2023
1 parent a31e9b8 commit 02a6ecd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/adaptors/scrub-invest/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ const unwrapLP = async (chain, lpTokens) => {

const token0Decimals = (
await sdk.api.abi.multiCall({
abi: lpAbi.decimals,
abi: lpAbi.find(({ name }) => name === "decimals"),
calls: token0.map((token) => ({
target: token,
})),
Expand All @@ -164,7 +164,7 @@ const unwrapLP = async (chain, lpTokens) => {

const token1Decimals = (
await sdk.api.abi.multiCall({
abi: lpAbi.decimals,
abi: lpAbi.find(({ name }) => name === "decimals"),
calls: token1.map((token) => ({
target: token,
})),
Expand Down

0 comments on commit 02a6ecd

Please sign in to comment.