From 4df4461f4afbb0c10a4fc9864b9c6955fafa7618 Mon Sep 17 00:00:00 2001 From: anilhelvaci Date: Mon, 10 Jun 2024 15:25:00 +0300 Subject: [PATCH] fixup(liquidationVisibility): destructure helper facet Refs: #35 --- packages/inter-protocol/src/vaultFactory/vaultManager.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/inter-protocol/src/vaultFactory/vaultManager.js b/packages/inter-protocol/src/vaultFactory/vaultManager.js index f3dfc2b8c3f..2b671366f6c 100644 --- a/packages/inter-protocol/src/vaultFactory/vaultManager.js +++ b/packages/inter-protocol/src/vaultFactory/vaultManager.js @@ -639,8 +639,12 @@ export const prepareVaultManagerKit = ( * @returns {Promise} */ async makeLiquidationVisibilityWriters(timestamp) { + const { + facets: { helper }, + } = this; + const liquidationRecorderKits = - await this.facets.helper.makeLiquidationRecorderKits(timestamp); + await helper.makeLiquidationRecorderKits(timestamp); /** @param {VaultData} vaultData */ const writePreAuction = vaultData => {