Skip to content

Commit

Permalink
chore(run-protocol)!: remove liquidated flag from vault notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Feb 23, 2022
1 parent 792c388 commit 797a9cf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/run-protocol/src/vaultFactory/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
* @typedef {Object} LiquidationUIMixin
* @property {Ratio} interestRate Annual interest rate charge
* @property {Ratio} liquidationRatio
* @property {boolean} liquidated boolean showing whether liquidation occurred
* @property {'active' | 'liquidating' | 'transfer' | 'closed' | 'liquidated'} vaultState
*/

Expand Down
1 change: 0 additions & 1 deletion packages/run-protocol/src/vaultFactory/vault.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,6 @@ export const makeInnerVault = (
debtSnapshot,
locked: getCollateralAmount(),
debt: getDebtAmount(),
liquidated: phase === VaultPhase.LIQUIDATED,
vaultState: phase,
});

Expand Down

0 comments on commit 797a9cf

Please sign in to comment.