swap diff

This commit is contained in:
boufni95 2024-07-14 16:46:26 +02:00
parent 7dce63af7d
commit 671875e67f

View file

@ -43,7 +43,7 @@ export class RugPullTracker {
}
checkForDisruption = async (pubDst: string, trackedBalance: number, providerTracker: TrackedProvider) => {
const diff = providerTracker.latest_balance - trackedBalance
const diff = trackedBalance - providerTracker.latest_balance
this.log({ latestBalance: providerTracker.latest_balance, diff })
if (diff < 0) {
this.rugPulled = true