commit 50660f24b77f81036157145cbef091baf4607a76
parent e003cd31d5491ba379318dce3d3ba071afab3e22
Author: nolash <dev@holbrook.no>
Date: Fri, 27 Aug 2021 14:39:27 +0200
Update queue and syncer
Diffstat:
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git 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
@@ -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
@@ -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