From 79a3b761c234a140b622e24e8307ce0c65627e52 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 4 Aug 2018 22:25:00 -1100 Subject: [PATCH] Change regrets address prefix --- src/chainparams.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/chainparams.cpp b/src/chainparams.cpp index d48d32c93..6903fe54e 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -568,9 +568,12 @@ public: 0 }; // These prefixes are the same as the testnet prefixes - base58Prefixes[PUBKEY_ADDRESS] = {0x1D,0x25}; - base58Prefixes[SCRIPT_ADDRESS] = {0x1C,0xBA}; - base58Prefixes[SECRET_KEY] = {0xEF}; + base58Prefixes[PUBKEY_ADDRESS] = std::vector(1,60); + base58Prefixes[SCRIPT_ADDRESS] = std::vector(1,85); + base58Prefixes[SECRET_KEY] = std::vector(1,188); + //base58Prefixes[PUBKEY_ADDRESS] = {0x1D,0x25}; + //base58Prefixes[SCRIPT_ADDRESS] = {0x1C,0xBA}; + //base58Prefixes[SECRET_KEY] = {0xEF}; // do not rely on these BIP32 prefixes; they are not specified and may change base58Prefixes[EXT_PUBLIC_KEY] = {0x04,0x35,0x87,0xCF}; base58Prefixes[EXT_SECRET_KEY] = {0x04,0x35,0x83,0x94};