Skip to content

Commit

Permalink
WarpySyncer: Venus integration - remove testers condition from query …
Browse files Browse the repository at this point in the history
…in PollerDeposit
  • Loading branch information
asiaziola committed Aug 23, 2024
1 parent bd1e559 commit bf99fad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/warpy_sync/poller_deposit.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,9 @@ func (self *PollerDeposit) handleNew() (err error) {
SUM(assets)
FROM warpy_syncer_assets
WHERE timestamp < ? AND chain = ? AND protocol = ?
AND from_address ~* (?)
group by from_address;
`, time.Now().Unix()-self.Config.WarpySyncer.PollerDepositSecondsForSelect,
self.Config.WarpySyncer.SyncerChain, self.Config.WarpySyncer.SyncerProtocol, self.addresses).
self.Config.WarpySyncer.SyncerChain, self.Config.WarpySyncer.SyncerProtocol).
Scan(&AssetsSums).Error

if err != nil {
Expand Down

0 comments on commit bf99fad

Please sign in to comment.