diff --git a/chaind/sql/session.py b/chaind/sql/session.py index d2ed0d7..42e67bc 100644 --- a/chaind/sql/session.py +++ b/chaind/sql/session.py @@ -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() diff --git a/requirements.txt b/requirements.txt index 52b5620..debac48 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 diff --git a/setup.cfg b/setup.cfg index 4424b97..03d61cf 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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