diff options
| author | Max K <[email protected]> | 2017-12-28 22:41:29 +0100 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2018-09-19 19:24:06 +0100 |
| commit | 60f8ff05e429556f13570b72e9c9b25197199354 (patch) | |
| tree | 61587c356773267f523f312564b4fbf2bb5dba75 /src/chainparams.cpp | |
| parent | Modify chain consensus parameters to be height aware (#1396) (diff) | |
| download | discoin-60f8ff05e429556f13570b72e9c9b25197199354.tar.xz discoin-60f8ff05e429556f13570b72e9c9b25197199354.zip | |
Fix 1.14 unit tests (#1408)
* Fix BlockEncodings test by setting a legacy block version
* Fix RPC test by adding missing RPC call
* Add missing regtest genesis hashes
Diffstat (limited to 'src/chainparams.cpp')
| -rw-r--r-- | src/chainparams.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 96540938c..c5ada492e 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -421,6 +421,8 @@ public: genesis = CreateGenesisBlock(1296688602, 2, 0x207fffff, 1, 88 * COIN); consensus.hashGenesisBlock = genesis.GetHash(); + digishieldConsensus.hashGenesisBlock = consensus.hashGenesisBlock; + auxpowConsensus.hashGenesisBlock = consensus.hashGenesisBlock; assert(consensus.hashGenesisBlock == uint256S("0x3d2160a3b5dc4a9d62e7e66a295f70313ac808440ef7400d6c0772171ce973a5")); // XXX: Fix for Dogecoin // assert(genesis.hashMerkleRoot == uint256S("0x4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b")); |