Browse Source

Back out testnet default address change, it breaks accounts on old wallets.

0.8
Gavin Andresen 13 years ago
parent
commit
ce336fdc21
  1. 4
      src/base58.h

4
src/base58.h

@ -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…
Cancel
Save