electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit e8bc025f5cbcd82590800bcbd195861a45d42edd
parent 1526fd3722fa84a7f71f26fdfccc8b483ed9797d
Author: SomberNight <somber.night@protonmail.com>
Date:   Fri, 19 Oct 2018 18:10:04 +0200

verifier: fix race in __init__

Diffstat:
Melectrum/synchronizer.py | 2+-
Melectrum/verifier.py | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 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 @@ -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()