From 830fc7f8ccdb5ce66118063f016ecc18c62f012a Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Wed, 29 Sep 2021 13:06:55 -0400 Subject: [PATCH] fix ES index name so it stays the same within a test case --- lbry/wallet/orchstr8/node.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lbry/wallet/orchstr8/node.py b/lbry/wallet/orchstr8/node.py index 3987e777a..8bf1ac83a 100644 --- a/lbry/wallet/orchstr8/node.py +++ b/lbry/wallet/orchstr8/node.py @@ -196,11 +196,10 @@ class SPVNode: self.session_timeout = 600 self.rpc_port = '0' # disabled by default self.stopped = False - self.index_name = None + self.index_name = uuid4().hex async def start(self, blockchain_node: 'BlockchainNode', extraconf=None): self.data_path = tempfile.mkdtemp() - self.index_name = uuid4().hex conf = { 'DESCRIPTION': '', 'PAYMENT_ADDRESS': '',