Skip to content

Commit

Permalink
Merge pull request #95 from npty/fix-token-missing-price
Browse files Browse the repository at this point in the history
fix token missing price
  • Loading branch information
vrtnd authored Jan 19, 2024
2 parents a5ef0c8 + 29a3f27 commit 12dd6e1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/adapters/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,10 @@ const testAdapter = async () => {
);
}
});
const tokenKey = transformTokens[contractsChain]?.[log.token]
? transformTokens[contractsChain]?.[log.token]
: `${contractsChain}:${log.token}`;
const token = log.token.toLowerCase();
const tokenKey = transformTokens[contractsChain]?.[token]
? transformTokens[contractsChain]?.[token]
: `${contractsChain}:${token}`;
uniqueTokens[tokenKey] = true;
})
);
Expand Down

0 comments on commit 12dd6e1

Please sign in to comment.