Skip to content

Commit

Permalink
Merge pull request #15 from curvefi/fix/collateral-duplication
Browse files Browse the repository at this point in the history
Fix: collateral duplication 3
  • Loading branch information
Macket authored Aug 26, 2023
2 parents e15eb63 + 9032a36 commit 139c5df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@curvefi/stablecoin-api",
"version": "1.3.6",
"version": "1.3.7",
"description": "JavaScript library for Curve Stablecoin",
"main": "lib/index.js",
"author": "Macket",
Expand Down
2 changes: 1 addition & 1 deletion src/crvusd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class Crvusd implements Icrvusd {
this.setContract(llamma.controller_address, controllerABI);
const monetary_policy_address = await this.contracts[llamma.controller_address].contract.monetary_policy(this.constantOptions);
llamma.monetary_policy_address = monetary_policy_address.toLowerCase();
this.setContract(monetary_policy_address, llamma.monetary_policy_abi);
this.setContract(llamma.monetary_policy_address, llamma.monetary_policy_abi);
if (llamma.collateral_address === "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee") {
this.setContract(this.constants.WETH, ERC20ABI);
} else {
Expand Down

0 comments on commit 139c5df

Please sign in to comment.