Skip to content

Commit

Permalink
fixup(liquidationVisibility): destructure helper facet
Browse files Browse the repository at this point in the history
Refs: #35
  • Loading branch information
anilhelvaci committed Jun 10, 2024
1 parent b477054 commit ccd9f38
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/inter-protocol/src/vaultFactory/vaultManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -639,8 +639,12 @@ export const prepareVaultManagerKit = (
* @returns {Promise<LiquidationVisibilityWriters>}
*/
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 => {
Expand Down

0 comments on commit ccd9f38

Please sign in to comment.