swap diff
This commit is contained in:
parent
7dce63af7d
commit
671875e67f
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ export class RugPullTracker {
|
||||||
}
|
}
|
||||||
|
|
||||||
checkForDisruption = async (pubDst: string, trackedBalance: number, providerTracker: TrackedProvider) => {
|
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 })
|
this.log({ latestBalance: providerTracker.latest_balance, diff })
|
||||||
if (diff < 0) {
|
if (diff < 0) {
|
||||||
this.rugPulled = true
|
this.rugPulled = true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue