From b507e6616d1b33ca7acea38c69be146949a4efae Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sun, 3 Feb 2019 15:07:48 +0800 Subject: [PATCH] Add same warning for BTC testnet --- electrumx/lib/coins.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/electrumx/lib/coins.py b/electrumx/lib/coins.py index ad92e2b..b16928d 100644 --- a/electrumx/lib/coins.py +++ b/electrumx/lib/coins.py @@ -624,6 +624,17 @@ class BitcoinSegwitTestnet(BitcoinTestnetMixin, Coin): 'testnet.qtornado.com s t', ] + @classmethod + def upgrade_required(cls, client_ver): + if client_ver < (3, 3, 3): + return ('

' + 'Your transaction was successfully broadcast.

' + 'However, you are using a VULNERABLE version of Electrum.
' + 'Download the new version from the usual place:
' + 'https://electrum.org/' + '

') + return False + class BitcoinSegwitRegtest(BitcoinSegwitTestnet): NAME = "BitcoinSegwit"