From 3fc91a7c444a8bc3539980346f808ee1f8b241f2 Mon Sep 17 00:00:00 2001 From: random-zebra Date: Fri, 27 Dec 2019 14:48:36 +0100 Subject: [PATCH] [RPC] Switch default and backup bb clients --- src/blockbookClient.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/blockbookClient.py b/src/blockbookClient.py index 2167eb7..eeba770 100644 --- a/src/blockbookClient.py +++ b/src/blockbookClient.py @@ -18,9 +18,9 @@ def process_blockbook_exceptions_int(*args, **kwargs): return func(*args, **kwargs) except Exception as e: if client.isTestnet: - new_url = "https://testnet.pivx.link" + new_url = "https://blockbook-testnet.pivx.link" else: - new_url = "https://explorer.pivx.link" + new_url = "https://blockbook.pivx.link" message = "BlockBook Client exception on %s\nTrying backup server %s" % (client.url, new_url) printException(getCallerName(True), getFunctionName(True), message, str(e)) @@ -41,9 +41,9 @@ class BlockBookClient: def __init__(self, isTestnet=False): self.isTestnet = isTestnet if isTestnet: - self.url = "https://blockbook-testnet.pivx.link" + self.url = "https://testnet.pivx.link" else: - self.url = "https://blockbook.pivx.link" + self.url = "https://explorer.pivx.link"