tests: Fix intermittent failure

This commit is contained in:
tecnovert
2021-09-05 01:18:34 +02:00
parent 2562aec4bd
commit e69409514c
4 changed files with 237 additions and 215 deletions

View File

@@ -4,6 +4,8 @@
# Distributed under the MIT software license, see the accompanying
# file LICENSE or http://www.opensource.org/licenses/mit-license.php.
import threading
from enum import IntEnum
from .util import (
COIN,
@@ -208,6 +210,7 @@ class CoinInterface:
def __init__(self, network):
self.setDefaults()
self._network = network
self._mx_wallet = threading.Lock()
def setDefaults(self):
self._unknown_wallet_seed = True