Skip to content

Commit

Permalink
fix: monetary_policy_address lower case
Browse files Browse the repository at this point in the history
  • Loading branch information
Macket committed Aug 26, 2023
1 parent e15eb63 commit 790d784
Showing 1 changed file with 1 addition and 1 deletion.
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 790d784

Please sign in to comment.