|
3 | 3 |
|
4 | 4 | from unittest.mock import Mock |
5 | 5 |
|
6 | | -from scribe.blockchain.network import LBCRegTest |
| 6 | +from scribe.hub import HUB_PROTOCOL_VERSION |
7 | 7 | from scribe.hub.udp import StatusServer |
8 | 8 | from scribe.hub.session import LBRYElectrumX |
| 9 | +from scribe.blockchain.network import LBCRegTest |
9 | 10 |
|
10 | 11 | from lbry.wallet.network import Network |
11 | 12 | from lbry.wallet.orchstr8 import Conductor |
@@ -35,7 +36,7 @@ async def test_server_features(self): |
35 | 36 | 'payment_address': '', |
36 | 37 | 'donation_address': '', |
37 | 38 | 'daily_fee': '0', |
38 | | - 'server_version': scribe.__version__, |
| 39 | + 'server_version': HUB_PROTOCOL_VERSION, |
39 | 40 | 'trending_algorithm': 'fast_ar', |
40 | 41 | }, await self.ledger.network.get_server_features()) |
41 | 42 | # await self.conductor.spv_node.stop() |
@@ -65,7 +66,7 @@ async def test_server_features(self): |
65 | 66 | 'payment_address': payment_address, |
66 | 67 | 'donation_address': donation_address, |
67 | 68 | 'daily_fee': '42', |
68 | | - 'server_version': scribe.__version__, |
| 69 | + 'server_version': HUB_PROTOCOL_VERSION, |
69 | 70 | 'trending_algorithm': 'fast_ar', |
70 | 71 | }, await self.ledger.network.get_server_features()) |
71 | 72 |
|
|
0 commit comments