mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-29 16:31:29 +00:00
verifier: fix race in __init__
This commit is contained in:
parent
1526fd3722
commit
e8bc025f5c
2 changed files with 2 additions and 2 deletions
|
@ -48,8 +48,8 @@ class SynchronizerBase(NetworkJobOnDefaultServer):
|
|||
Every time a status changes, run a coroutine provided by the subclass.
|
||||
"""
|
||||
def __init__(self, network):
|
||||
NetworkJobOnDefaultServer.__init__(self, network)
|
||||
self.asyncio_loop = network.asyncio_loop
|
||||
NetworkJobOnDefaultServer.__init__(self, network)
|
||||
|
||||
def _reset(self):
|
||||
super()._reset()
|
||||
|
|
|
@ -44,8 +44,8 @@ class SPV(NetworkJobOnDefaultServer):
|
|||
""" Simple Payment Verification """
|
||||
|
||||
def __init__(self, network, wallet):
|
||||
NetworkJobOnDefaultServer.__init__(self, network)
|
||||
self.wallet = wallet
|
||||
NetworkJobOnDefaultServer.__init__(self, network)
|
||||
|
||||
def _reset(self):
|
||||
super()._reset()
|
||||
|
|
Loading…
Add table
Reference in a new issue