Skip to content

Commit

Permalink
change liquidation messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ewansheldon committed Jul 5, 2024
1 parent 01aebaa commit ef04def
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/liquidation.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const scheduleLiquidation = async _ => {
await RewardGateway.connect(wallet).liquidateVault(tokenID);
}
} catch (e) {
console.log('vault data error', tokenID);
console.log('vault liquidation error', tokenID);
}
}
const end = Math.floor(new Date / 1000);
Expand All @@ -93,7 +93,7 @@ const scheduleLiquidation = async _ => {
liquidatorEUROsBalance = ethers.utils.formatEther(await EUROs.connect(wallet).balanceOf(wallet.address));

const supply = Number((await getVaultSupply(wallet, manager)).toString());
let content = `Liquidator wallet balance: **${liquidatorETHBalance} ETH**, **${liquidatorEUROsBalance} EUROs**\n--------------\n`;
let content = `Liquidator wallet balance:\n**${liquidatorETHBalance} ETH**\n**${liquidatorEUROsBalance} EUROs**\n---\n`;
let embeds = [];
for (let tokenID = 1; tokenID <= supply; tokenID++) {
try {
Expand Down

0 comments on commit ef04def

Please sign in to comment.