aboutsummaryrefslogtreecommitdiff
path: root/base58.h
diff options
context:
space:
mode:
Diffstat (limited to 'base58.h')
-rw-r--r--base58.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base58.h b/base58.h
index 4163f290d8..828f8d578d 100644
--- a/base58.h
+++ b/base58.h
@@ -152,7 +152,7 @@ inline bool DecodeBase58Check(const string& str, vector<unsigned char>& vchRet)
-static const unsigned char ADDRESSVERSION = 0;
+#define ADDRESSVERSION ((unsigned char)(fTestNet ? 111 : 0))
inline string Hash160ToAddress(uint160 hash160)
{