diff --git a/electroncash/asert_daa.py b/electroncash/asert_daa.py index 5146e9b65c74..a680a39bc19c 100644 --- a/electroncash/asert_daa.py +++ b/electroncash/asert_daa.py @@ -63,7 +63,7 @@ class ASERTDaa: MTP_ACTIVATION_TIME = _get_asert_activation_mtp() # Normally Nov. 15th, 2020 UTC 12:00:00 IDEAL_BLOCK_TIME = 10 * 60 # 10 mins - HALF_LIFE = 2 * 24 * 3600 # for mainnet, testnet has 3600 (1 hour) half-life + HALF_LIFE = 2 * 24 * 3600 # Integer implementation uses these for fixed point math RBITS = 16 # number of bits after the radix for fixed-point math RADIX = 1 << RBITS diff --git a/electroncash/networks.py b/electroncash/networks.py index 100f1d973063..e693d1249a97 100644 --- a/electroncash/networks.py +++ b/electroncash/networks.py @@ -87,7 +87,7 @@ class MainNet(AbstractNet): class TestNet(AbstractNet): TESTNET = True - asert_daa = ASERTDaa(is_testnet=True) + asert_daa = ASERTDaa() WIF_PREFIX = 0xef ADDRTYPE_P2PKH = 111 ADDRTYPE_P2PKH_BITPAY = 111 # Unsure @@ -144,7 +144,7 @@ class ScaleNet(TestNet): GENESIS = "00000000e6453dc2dfe1ffa19023f86002eb11dbb8e87d0291a4599f0430be52" TITLE = 'Electron Cash Scalenet' - asert_daa = ASERTDaa(is_testnet=False) # Despite being a "testnet", ScaleNet uses 2d half-life + asert_daa = ASERTDaa() HEADERS_URL = "http://bitcoincash.com/files/scalenet_headers" # Unused