Merge pull request #2789 from lbryio/update-default-servers

update default wallet servers
This commit is contained in:
Jack Robison 2020-02-11 16:36:31 -05:00 committed by GitHub
commit 82ecf207c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@ async def main():
try: try:
hostname = sys.argv[1] hostname = sys.argv[1]
except IndexError: except IndexError:
hostname = 'spv1.lbry.com' hostname = 'spv11.lbry.com'
loop = asyncio.get_event_loop() loop = asyncio.get_event_loop()
client = ClientSession(network=None, server=(hostname, 50001)) client = ClientSession(network=None, server=(hostname, 50001))

View file

@ -21,5 +21,5 @@ class SettingsManagement(CommandTestCase):
self.assertEqual(self.daemon.jsonrpc_settings_get()['lbryum_servers'][0], ('server', 50001)) self.assertEqual(self.daemon.jsonrpc_settings_get()['lbryum_servers'][0], ('server', 50001))
setting = self.daemon.jsonrpc_settings_clear('lbryum_servers') setting = self.daemon.jsonrpc_settings_clear('lbryum_servers')
self.assertEqual(setting['lbryum_servers'][0], ('spv1.lbry.com', 50001)) self.assertEqual(setting['lbryum_servers'][0], ('spv11.lbry.com', 50001))
self.assertEqual(self.daemon.jsonrpc_settings_get()['lbryum_servers'][0], ('spv1.lbry.com', 50001)) self.assertEqual(self.daemon.jsonrpc_settings_get()['lbryum_servers'][0], ('spv11.lbry.com', 50001))