Mercurial > hg > bitcoin
changeset 1617:a7ebd4cb36df draft
Back out testnet default address change, it breaks accounts on old wallets.
author | Gavin Andresen <gavinandresen@gmail.com> |
---|---|
date | Thu, 22 Dec 2011 14:35:46 -0500 |
parents | 997b708d15b8 |
children | e16276182f0f |
files | src/base58.h |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/base58.h +++ b/src/base58.h @@ -264,8 +264,7 @@ { 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 @@ fExpectTestNet = false; break; - case PUBKEY_ADDRESS_TEST_LEGACY: case PUBKEY_ADDRESS_TEST: nExpectedSize = 20; fExpectTestNet = true;