Skip to content

Commit

Permalink
Merge pull request #171 from securesecrets/develop
Browse files Browse the repository at this point in the history
parsing patch on money market
  • Loading branch information
AustinWoetzel authored Sep 18, 2024
2 parents 69ce63f + dd758e3 commit fd5c3a9
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 fd5c3a9

Please sign in to comment.