From c9380f128eafbff2678b6ea198fc3ddf51cb7c4f Mon Sep 17 00:00:00 2001 From: Sylvain Bellemare Date: Wed, 15 Nov 2017 23:44:51 +0100 Subject: [PATCH] Start tendermint integration with bigchaindb cmd --- bigchaindb/commands/bigchaindb.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bigchaindb/commands/bigchaindb.py b/bigchaindb/commands/bigchaindb.py index 34f7e452..906fa213 100644 --- a/bigchaindb/commands/bigchaindb.py +++ b/bigchaindb/commands/bigchaindb.py @@ -15,7 +15,7 @@ from bigchaindb.common.exceptions import (StartupError, KeypairNotFoundException, DatabaseDoesNotExist) import bigchaindb -from bigchaindb import backend, processes +from bigchaindb import backend from bigchaindb.backend import schema from bigchaindb.backend.admin import (set_replicas, set_shards, add_replicas, remove_replicas) @@ -206,7 +206,8 @@ def run_start(args): logger.info('Starting BigchainDB main process with public key %s', bigchaindb.config['keypair']['public']) - processes.start() + from bigchaindb.tendermint.commands import start + start() @configure_bigchaindb