From 0ea8ba72dd0384f9289f3cffd0f66a7e87eb8adf Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Fri, 6 May 2022 04:32:35 -0300 Subject: [PATCH] Env->ServerEnv from scribe changes --- lbry/wallet/orchstr8/node.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lbry/wallet/orchstr8/node.py b/lbry/wallet/orchstr8/node.py index 9606c0a37..a706ec9c9 100644 --- a/lbry/wallet/orchstr8/node.py +++ b/lbry/wallet/orchstr8/node.py @@ -17,8 +17,9 @@ from typing import Type, Optional import urllib.request from uuid import uuid4 + try: - from scribe.env import Env + from scribe.hub.env import ServerEnv from scribe.hub.service import HubServerService from scribe.elasticsearch.service import ElasticSyncService from scribe.blockchain.service import BlockchainProcessorService @@ -260,7 +261,7 @@ class SPVNode: } if extraconf: conf.update(extraconf) - env = Env(**conf) + env = ServerEnv(**conf) self.writer = BlockchainProcessorService(env) self.server = HubServerService(env) self.es_writer = ElasticSyncService(env)