From 790d7848f8a5d544c9c4435a8be996eb6ea11ab1 Mon Sep 17 00:00:00 2001 From: macket Date: Sat, 26 Aug 2023 21:49:24 +0400 Subject: [PATCH] fix: monetary_policy_address lower case --- src/crvusd.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crvusd.ts b/src/crvusd.ts index 1c6cc92..2caf013 100644 --- a/src/crvusd.ts +++ b/src/crvusd.ts @@ -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 {