Add temporary db commit per tx in tracker

This commit is contained in:
nolash 2021-04-20 07:08:14 +02:00
parent dc17cec2d2
commit 1b93d83e56
Signed by untrusted user who does not match committer: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -67,6 +67,7 @@ class ERC20TransferFilter(SyncFilter):
tx.status == Status.SUCCESS, tx.status == Status.SUCCESS,
block.timestamp, block.timestamp,
) )
db_session.flush() #db_session.flush()
db_session.commit()
return True return True