Skip to content

Commit

Permalink
chore: patch parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
SissonJ committed Sep 18, 2024
1 parent d7809b2 commit bf1571a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/giant-toys-guess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@shadeprotocol/shadejs": patch
---

patched a parsing bug where contract address was being used for code hash
2 changes: 1 addition & 1 deletion src/contracts/services/moneyMarket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bf1571a

Please sign in to comment.