Skip to content

Commit

Permalink
Fix Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Seif-Abaza committed Jan 1, 2020
1 parent aefac6f commit 2a539b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static void convertSeed6(std::vector<CAddress>& vSeedsOut, const SeedSpec6* data
// timestamp before)
// + Contains no strange transactions
static Checkpoints::MapCheckpoints mapCheckpoints =
boost::assign::map_list_of(0, uint256("0x00000dbfcd47d34b0d509279ca88548ae38b47a2c3a0a828aa3b6c0d5e2415d7"));
boost::assign::map_list_of(0, uint256("0x0000034dcafe7ecf6822ea4eaf1fa9b015befb792b11c12543fba01e9422015e"));
static const Checkpoints::CCheckpointData data = {
&mapCheckpoints,
1574580529, // * UNIX timestamp of last checkpoint block
Expand Down Expand Up @@ -120,7 +120,7 @@ class CMainParams : public CChainParams
nModifierUpdateBlock = 200;
nZerocoinStartHeight = 200;
nAccumulatorStartHeight = 1;
nZerocoinStartTime = 1574580529;
nZerocoinStartTime = 1577895516;
nBlockEnforceSerialRange = 1; //Enforce serial range starting this block
nBlockRecalculateAccumulators = ~1; //Trigger a recalculation of accumulators
nBlockFirstFraudulent = ~1; //First block that bad serials emerged
Expand All @@ -147,12 +147,12 @@ class CMainParams : public CChainParams
genesis.hashPrevBlock.SetNull();
genesis.hashMerkleRoot = genesis.BuildMerkleTree();
genesis.nVersion = 1;
genesis.nTime = 1577510201;
genesis.nTime = 1577895516;
genesis.nBits = 0x1e0ffff0;
genesis.nNonce = 22594349;
genesis.nNonce = 21501949;

hashGenesisBlock = genesis.GetHash();
assert(hashGenesisBlock == uint256S("0x00000dbfcd47d34b0d509279ca88548ae38b47a2c3a0a828aa3b6c0d5e2415d7"));
assert(hashGenesisBlock == uint256S("0x0000034dcafe7ecf6822ea4eaf1fa9b015befb792b11c12543fba01e9422015e"));
assert(genesis.hashMerkleRoot == uint256S("0x530a0e350f8c5064f84ce0124d366e77e1126113aefe93b1ec93d0c58a907f42"));

// DNS Seeding
Expand Down
2 changes: 1 addition & 1 deletion src/qt/blockexplorer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ const CBlockIndex* getexplorerBlockIndex(int64_t height)

std::string getexplorerBlockHash(int64_t Height)
{
std::string genesisblockhash = "00000468794b247b2acb46f95ee7412afcf058874e2d7d93ea120b8a5432a1da";
std::string genesisblockhash = "0000034dcafe7ecf6822ea4eaf1fa9b015befb792b11c12543fba01e9422015e";
CBlockIndex* pindexBest = mapBlockIndex[chainActive.Tip()->GetBlockHash()];
if ((Height < 0) || (Height > pindexBest->nHeight)) {
return genesisblockhash;
Expand Down

0 comments on commit 2a539b0

Please sign in to comment.