fix log
This commit is contained in:
parent
14cd821746
commit
a95becbfb6
1 changed files with 6 additions and 0 deletions
|
|
@ -77,6 +77,9 @@ export class Watchdog {
|
|||
this.log("Difference is too big for an update, locking outgoing operations")
|
||||
return true
|
||||
}
|
||||
} else if (deltaLnd === deltaUsers) {
|
||||
this.log("LND and users balance went both DOWN consistently")
|
||||
return false
|
||||
} else {
|
||||
this.log("LND balance decreased less than users balance with a difference of", result.absoluteDiff, "sats, could be caused by data loss, or liquidity injection")
|
||||
return false
|
||||
|
|
@ -89,6 +92,9 @@ export class Watchdog {
|
|||
this.log("Difference is too big for an update, locking outgoing operations")
|
||||
return true
|
||||
}
|
||||
} else if (deltaLnd === deltaUsers) {
|
||||
this.log("LND and users balance went both UP consistently")
|
||||
return false
|
||||
} else {
|
||||
this.log("LND balance increased more than users balance with a difference of", result.absoluteDiff, "sats, could be caused by data loss, or liquidity injection")
|
||||
return false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue