diff --git a/.changeset/giant-toys-guess.md b/.changeset/giant-toys-guess.md new file mode 100644 index 0000000..34a5be7 --- /dev/null +++ b/.changeset/giant-toys-guess.md @@ -0,0 +1,5 @@ +--- +"@shadeprotocol/shadejs": patch +--- + +patched a parsing bug where contract address was being used for code hash diff --git a/src/contracts/services/moneyMarket.ts b/src/contracts/services/moneyMarket.ts index e30bc4c..06c7dd2 100644 --- a/src/contracts/services/moneyMarket.ts +++ b/src/contracts/services/moneyMarket.ts @@ -42,7 +42,7 @@ const parseMoneyMarketGetMarkets = ( }, lToken: { contractAddress: cur.l_token.address, - codeHash: cur.l_token.address, + codeHash: cur.l_token.code_hash, }, decimals: cur.decimals, oracleKey: cur.oracle_key,