Skip to content

Commit

Permalink
fix scribe server version test
Browse files Browse the repository at this point in the history
  • Loading branch information
eukreign authored and shyba committed Jun 9, 2022
1 parent ad00dde commit d624ce7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 4 additions & 3 deletions tests/integration/blockchain/test_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@

from unittest.mock import Mock

from scribe.blockchain.network import LBCRegTest
from scribe.hub import HUB_PROTOCOL_VERSION
from scribe.hub.udp import StatusServer
from scribe.hub.session import LBRYElectrumX
from scribe.blockchain.network import LBCRegTest

from lbry.wallet.network import Network
from lbry.wallet.orchstr8 import Conductor
Expand Down Expand Up @@ -35,7 +36,7 @@ async def test_server_features(self):
'payment_address': '',
'donation_address': '',
'daily_fee': '0',
'server_version': scribe.__version__,
'server_version': HUB_PROTOCOL_VERSION,
'trending_algorithm': 'fast_ar',
}, await self.ledger.network.get_server_features())
# await self.conductor.spv_node.stop()
Expand Down Expand Up @@ -65,7 +66,7 @@ async def test_server_features(self):
'payment_address': payment_address,
'donation_address': donation_address,
'daily_fee': '42',
'server_version': scribe.__version__,
'server_version': HUB_PROTOCOL_VERSION,
'trending_algorithm': 'fast_ar',
}, await self.ledger.network.get_server_features())

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import asyncio

import scribe
from scribe.hub import HUB_PROTOCOL_VERSION
from scribe.hub.session import LBRYElectrumX

Expand Down

0 comments on commit d624ce7

Please sign in to comment.