SetProtocol / set-protocol-v2

Set Protocol V2
120 stars 94 forks source link

fix bug in function setMarketBorrowRate of class AaveV2Fixture #194

Closed gzliudan closed 2 years ago

gzliudan commented 2 years ago

should add keyword await before this.lendingRateOracle.setMarketBorrowRate(asset, rate);

  public async setMarketBorrowRate(asset: Address, rate: BigNumberish): Promise<void> {
    this.lendingRateOracle.setMarketBorrowRate(asset, rate);
  }