diff --git a/electrum/synchronizer.py b/electrum/synchronizer.py index e5fd0f83f..90160ae9a 100644 --- a/electrum/synchronizer.py +++ b/electrum/synchronizer.py @@ -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() diff --git a/electrum/verifier.py b/electrum/verifier.py index 3c070776c..c6648c7cd 100644 --- a/electrum/verifier.py +++ b/electrum/verifier.py @@ -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()