up
This commit is contained in:
parent
93d9084a85
commit
f39a4d50bd
1 changed files with 1 additions and 1 deletions
|
|
@ -29,8 +29,8 @@ export class RugPullTracker {
|
|||
if (ready) {
|
||||
const balance = await this.liquidProvider.GetLatestBalance()
|
||||
const pendingBalance = await this.liquidProvider.GetPendingBalance()
|
||||
this.log({ pendingBalance })
|
||||
const trackedBalance = balance + pendingBalance
|
||||
this.log({ pendingBalance, balance, trackedBalance })
|
||||
if (!providerTracker) {
|
||||
this.log("starting to track provider", this.liquidProvider.GetProviderDestination())
|
||||
await this.storage.liquidityStorage.CreateTrackedProvider('lnPub', pubDst, trackedBalance)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue