Skip to content

Commit f5f7fe7

Browse files
committed
update tests
1 parent affc799 commit f5f7fe7

File tree

3 files changed

+149
-146
lines changed

3 files changed

+149
-146
lines changed

tests/tx/test_tx.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
from hathor.transaction.scripts import P2PKH, parse_address_script
3131
from hathor.transaction.util import int_to_bytes
3232
from hathor.transaction.validation_state import ValidationState
33-
from hathor.verification.verification_service import VertexVerifiers
3433
from hathor.wallet import Wallet
3534
from tests import unittest
3635
from tests.utils import (
@@ -47,11 +46,11 @@ class BaseTransactionTest(unittest.TestCase):
4746

4847
def setUp(self):
4948
super().setUp()
50-
self._verifiers = VertexVerifiers.create_defaults(settings=self._settings)
5149
self.wallet = Wallet()
5250

5351
# this makes sure we can spend the genesis outputs
5452
self.manager = self.create_peer('testnet', unlock_wallet=True, wallet_index=True, use_memory_storage=True)
53+
self._verifiers = self.manager.verification_service.verifiers
5554
self.tx_storage = self.manager.tx_storage
5655

5756
# read genesis keys

0 commit comments

Comments
 (0)