forked from LBRYCommunity/lbry-sdk
use existing donation_address instead
This commit is contained in:
parent
64eaa5e3aa
commit
ef94c1eccc
3 changed files with 2 additions and 3 deletions
|
@ -30,7 +30,7 @@ class NetworkTests(IntegrationTestCase):
|
||||||
'server_version': '0.5.7'}, await self.ledger.network.get_server_features())
|
'server_version': '0.5.7'}, await self.ledger.network.get_server_features())
|
||||||
await self.conductor.spv_node.stop()
|
await self.conductor.spv_node.stop()
|
||||||
address = (await self.account.get_addresses(limit=1))[0]
|
address = (await self.account.get_addresses(limit=1))[0]
|
||||||
os.environ.update({'DESCRIPTION': 'Fastest server in the west.', 'PAYMENT_ADDRESS': address, 'DAILY_FEE': '42'})
|
os.environ.update({'DESCRIPTION': 'Fastest server in the west.', 'DONATION_ADDRESS': address, 'DAILY_FEE': '42'})
|
||||||
await self.conductor.spv_node.start(self.conductor.blockchain_node)
|
await self.conductor.spv_node.start(self.conductor.blockchain_node)
|
||||||
await self.ledger.network.on_connected.first
|
await self.ledger.network.on_connected.first
|
||||||
self.assertEqual({'genesis_hash': self.conductor.spv_node.coin_class.GENESIS_HASH,
|
self.assertEqual({'genesis_hash': self.conductor.spv_node.coin_class.GENESIS_HASH,
|
||||||
|
|
|
@ -81,7 +81,6 @@ class Env:
|
||||||
self.session_timeout = self.integer('SESSION_TIMEOUT', 600)
|
self.session_timeout = self.integer('SESSION_TIMEOUT', 600)
|
||||||
self.drop_client = self.custom("DROP_CLIENT", None, re.compile)
|
self.drop_client = self.custom("DROP_CLIENT", None, re.compile)
|
||||||
self.description = self.default('DESCRIPTION', '')
|
self.description = self.default('DESCRIPTION', '')
|
||||||
self.payment_address = self.default('PAYMENT_ADDRESS', '')
|
|
||||||
self.daily_fee = self.integer('DAILY_FEE', 0)
|
self.daily_fee = self.integer('DAILY_FEE', 0)
|
||||||
|
|
||||||
# Identities
|
# Identities
|
||||||
|
|
|
@ -768,7 +768,7 @@ class ElectrumX(SessionBase):
|
||||||
'protocol_max': max_str,
|
'protocol_max': max_str,
|
||||||
'genesis_hash': env.coin.GENESIS_HASH,
|
'genesis_hash': env.coin.GENESIS_HASH,
|
||||||
'description': env.description,
|
'description': env.description,
|
||||||
'payment_address': env.payment_address,
|
'payment_address': env.donation_address,
|
||||||
'daily_fee': env.daily_fee,
|
'daily_fee': env.daily_fee,
|
||||||
'hash_function': 'sha256',
|
'hash_function': 'sha256',
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue