mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-22 20:44:56 +00:00
Back out testnet default address change, it breaks accounts on old wallets.
This commit is contained in:
parent
bde280b9a4
commit
ce336fdc21
@ -264,8 +264,7 @@ public:
|
|||||||
{
|
{
|
||||||
PUBKEY_ADDRESS = 0,
|
PUBKEY_ADDRESS = 0,
|
||||||
SCRIPT_ADDRESS = 5,
|
SCRIPT_ADDRESS = 5,
|
||||||
PUBKEY_ADDRESS_TEST = 192,
|
PUBKEY_ADDRESS_TEST = 111,
|
||||||
PUBKEY_ADDRESS_TEST_LEGACY = 111, // Deprecated: old testnet address
|
|
||||||
SCRIPT_ADDRESS_TEST = 196,
|
SCRIPT_ADDRESS_TEST = 196,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -301,7 +300,6 @@ public:
|
|||||||
fExpectTestNet = false;
|
fExpectTestNet = false;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PUBKEY_ADDRESS_TEST_LEGACY:
|
|
||||||
case PUBKEY_ADDRESS_TEST:
|
case PUBKEY_ADDRESS_TEST:
|
||||||
nExpectedSize = 20;
|
nExpectedSize = 20;
|
||||||
fExpectTestNet = true;
|
fExpectTestNet = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user