aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2013-06-23 02:33:47 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2013-06-24 00:56:46 +0200
commit8388289eb6dfc9add233f8f8b536f84caf771fa6 (patch)
tree7e6e31a378a1b72e8903262de89daeb13db02694 /src/chainparams.h
parent12dff9801f92d37c330ccf4776da36a3910abec4 (diff)
Generalize version bytes
Diffstat (limited to 'src/chainparams.h')
-rw-r--r--src/chainparams.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chainparams.h b/src/chainparams.h
index 572712b589..9f4c079ae2 100644
--- a/src/chainparams.h
+++ b/src/chainparams.h
@@ -60,7 +60,7 @@ public:
const string& DataDir() const { return strDataDir; }
virtual Network NetworkID() const = 0;
const vector<CDNSSeedData>& DNSSeeds() const { return vSeeds; }
- int Base58Prefix(Base58Type type) const { return base58Prefixes[type]; }
+ const std::vector<unsigned char> &Base58Prefix(Base58Type type) const { return base58Prefixes[type]; }
virtual const vector<CAddress>& FixedSeeds() const = 0;
int RPCPort() const { return nRPCPort; }
protected:
@@ -76,7 +76,7 @@ protected:
int nSubsidyHalvingInterval;
string strDataDir;
vector<CDNSSeedData> vSeeds;
- int base58Prefixes[MAX_BASE58_TYPES];
+ std::vector<unsigned char> base58Prefixes[MAX_BASE58_TYPES];
};
/**