From 817ffd2bf283597009f41d5d9ecf36c4ab0f3110 Mon Sep 17 00:00:00 2001 From: x0s0l <90217496+x0s0l@users.noreply.github.com> Date: Thu, 26 Oct 2023 12:39:29 +0000 Subject: [PATCH] Fix Moonwell APY on Base Some rewards were failing to find the price due a need in converting the resulting Address to the same casing as the resulting Address from the API call --- src/adaptors/moonwell/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adaptors/moonwell/index.js b/src/adaptors/moonwell/index.js index ce85fe7c53..a151782286 100644 --- a/src/adaptors/moonwell/index.js +++ b/src/adaptors/moonwell/index.js @@ -227,7 +227,7 @@ const getApy = async () => { //WELL base -> WELL moonbeam token_info = mrd_prices['0x511ab53f793683763e5a8829738301368a2411e3'] } else { - token_info = mrd_prices[_emissionToken] + token_info = mrd_prices[_emissionToken.toLowerCase()] } let price = token_info?.price