From ce336fdc21c25c055ffef28fbe7c61164df7ca24 Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Thu, 22 Dec 2011 14:35:46 -0500 Subject: [PATCH] Back out testnet default address change, it breaks accounts on old wallets. --- src/base58.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/base58.h b/src/base58.h index cba638f4..ef6493d4 100644 --- a/src/base58.h +++ b/src/base58.h @@ -264,8 +264,7 @@ public: { PUBKEY_ADDRESS = 0, SCRIPT_ADDRESS = 5, - PUBKEY_ADDRESS_TEST = 192, - PUBKEY_ADDRESS_TEST_LEGACY = 111, // Deprecated: old testnet address + PUBKEY_ADDRESS_TEST = 111, SCRIPT_ADDRESS_TEST = 196, }; @@ -301,7 +300,6 @@ public: fExpectTestNet = false; break; - case PUBKEY_ADDRESS_TEST_LEGACY: case PUBKEY_ADDRESS_TEST: nExpectedSize = 20; fExpectTestNet = true;