Skip to content

Commit

Permalink
Env->ServerEnv from scribe changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shyba committed May 6, 2022
1 parent b8867cd commit 96691c9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lbry/wallet/orchstr8/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
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
Expand Down Expand Up @@ -260,7 +261,7 @@ async def start(self, lbcwallet_node: 'LBCWalletNode', extraconf=None):
}
if extraconf:
conf.update(extraconf)
env = Env(**conf)
env = ServerEnv(**conf)
self.writer = BlockchainProcessorService(env)
self.server = HubServerService(env)
self.es_writer = ElasticSyncService(env)
Expand Down

0 comments on commit 96691c9

Please sign in to comment.