remove log line

This commit is contained in:
Riordan Panayides 2022-04-12 20:08:58 +01:00
parent 5c2f027a7a
commit c76d4f9258
1 changed files with 2 additions and 2 deletions

View File

@ -389,7 +389,6 @@ async function liquidatableFromLiquidatableFeed() {
if (!candidatesSet.has(account)) {
candidatesSet.add(account);
candidates.enqueue(account);
console.log(`Enqueued ${account.publicKey.toBase58()}`);
}
});
@ -1064,6 +1063,7 @@ async function balanceAccount(
spotMarkets: Market[],
perpMarkets: PerpMarket[],
) {
return;
if (Date.now() < lastRebalance + rebalanceInterval) {
return;
}
@ -1330,7 +1330,7 @@ function notify(content: string) {
}
process.on('unhandledRejection', (err: any, p: any) => {
console.error(`Unhandled rejection: ${err} promise: ${p})`);
console.error(`Unhandled rejection: ${err} promise: ${p})`, err);
});
main();