Update queue and syncer

This commit is contained in:
nolash 2021-08-27 14:39:27 +02:00
parent e003cd31d5
commit 50660f24b7
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
3 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
# external imports
from chainqueue.sql.query import get_tx
from chainqueue.sql.query import get_otx
class SessionIndex:
@ -9,7 +9,7 @@ class SessionIndex:
def add(self, chain_spec, tx_hash, session=None):
tx = get_tx(chain_spec, tx_hash, session=session)
tx = get_otx(chain_spec, tx_hash, session=session)
session.execute("INSERT INTO session (otx_id, session) VALUES ({},'{}')".format(tx['otx_id'], self.id))
session.flush()

View File

@ -1,6 +1,6 @@
chainlib>=0.0.9a3,<=0.1.0
chainqueue>=0.0.4a5,<=0.0.4
chainsyncer>=0.0.6a1,<=0.0.6
chainqueue>=0.0.4a7,<=0.0.4
chainsyncer>=0.0.6a3,<=0.0.6
confini>=0.4.1a1,<0.5.0
crypto-dev-signer>=0.4.15a1,<0.5.0
pyxdg~=0.26

View File

@ -1,6 +1,6 @@
[metadata]
name = chaind
version = 0.0.3a2
version = 0.0.3a3
description = Base package for chain queue servicek
author = Louis Holbrook
author_email = dev@holbrook.no