Skip to content

Commit 991eafd

Browse files
committed
fix: price oracle's underlying
1 parent ef1d069 commit 991eafd

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/sdk/accounts/CreditAccountsService.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,6 @@ export class CreditAccountsService extends SDKConstruct {
278278
*/
279279
public async getUpdateForAccounts(
280280
accounts: CreditAccountData[],
281-
blockNumber?: bigint,
282281
): Promise<UpdatePriceFeedsResult> {
283282
// for each market, using pool address as key, gather tokens to update and find PriceFeedFactories
284283
const tokensByPool = new Map<Address, Set<Address>>();

src/sdk/market/MarketFactory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class MarketFactory {
3030
this.priceOracle = new PriceOracleContract(
3131
sdk,
3232
marketData.priceOracleData,
33-
marketData.underlying,
33+
marketData.pool.underlying,
3434
);
3535
}
3636

0 commit comments

Comments
 (0)