Skip to content

Commit 23bfcb2

Browse files
authored
Update chainparams.cpp
1 parent 35df175 commit 23bfcb2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/chainparams.cpp

+3-4
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ static CBlock CreateGenesisBlock(const char* pszTimestamp, const CScript& genesi
5454
* CTxOut(empty)
5555
* vMerkleTree: 12630d16a9
5656
*/
57-
static CBlock CreateGenesisBlock(uint32_t nTime, uint32_t nNonce, uint32_t nBits, int32_t nVersion, const CAmount& genesisReward)
57+
static CBlock CreateGenesisBlock(uint32_t nTime, uint32_t nNonce, uint nBits, int nVersion, const CAmount& genesisReward)
5858
{
5959
const char* pszTimestamp = "plz time stamp. stahp";
6060
const CScript genesisOutputScript = CScript() << ParseHex("0x0") << OP_CHECKSIG;
@@ -192,7 +192,7 @@ class CMainParams : public CChainParams {
192192
base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x04)(0x88)(0xB2)(0x1E).convert_to_container<std::vector<unsigned char> >();
193193
base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x04)(0x88)(0xAD)(0xE4).convert_to_container<std::vector<unsigned char> >();
194194

195-
convertSeed6(vFixedSeeds, pnSeed6_main, ARRAYLEN(pnSeed6_main));
195+
convertSeed6(vFixedSeeds, pnSeed6, ARRAYLEN(pnSeed6));
196196
}
197197

198198
virtual const CBlock& GenesisBlock() const { return genesis; }
@@ -251,8 +251,7 @@ class CTestNetParams : public CMainParams {
251251
base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x04)(0x88)(0xB2)(0x1E).convert_to_container<std::vector<unsigned char> >();
252252
base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x04)(0x88)(0xAD)(0xE4).convert_to_container<std::vector<unsigned char> >();
253253

254-
convertSeed6(vFixedSeeds, pnSeed6_test, ARRAYLEN(pnSeed6_test));
255-
254+
256255
}
257256
virtual Network NetworkID() const { return CChainParams::TESTNET; }
258257
};

0 commit comments

Comments
 (0)