mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 13:03:17 +01:00
FindDevNetGenesisBlock remove unused arg (#3405)
This commit is contained in:
parent
c678510677
commit
c1d9dd553a
@ -134,7 +134,7 @@ void CChainParams::UpdateLLMQDevnetParams(int size, int threshold)
|
|||||||
params.dkgBadVotesThreshold = threshold;
|
params.dkgBadVotesThreshold = threshold;
|
||||||
}
|
}
|
||||||
|
|
||||||
static CBlock FindDevNetGenesisBlock(const Consensus::Params& params, const CBlock &prevBlock, const CAmount& reward)
|
static CBlock FindDevNetGenesisBlock(const CBlock &prevBlock, const CAmount& reward)
|
||||||
{
|
{
|
||||||
std::string devNetName = GetDevNetName();
|
std::string devNetName = GetDevNetName();
|
||||||
assert(!devNetName.empty());
|
assert(!devNetName.empty());
|
||||||
@ -702,7 +702,7 @@ public:
|
|||||||
assert(consensus.hashGenesisBlock == uint256S("0x000008ca1832a4baf228eb1553c03d3a2c8e02399550dd6ea8d65cec3ef23d2e"));
|
assert(consensus.hashGenesisBlock == uint256S("0x000008ca1832a4baf228eb1553c03d3a2c8e02399550dd6ea8d65cec3ef23d2e"));
|
||||||
assert(genesis.hashMerkleRoot == uint256S("0xe0028eb9648db56b1ac77cf090b99048a8007e2bb64b68f092c03c7f56a662c7"));
|
assert(genesis.hashMerkleRoot == uint256S("0xe0028eb9648db56b1ac77cf090b99048a8007e2bb64b68f092c03c7f56a662c7"));
|
||||||
|
|
||||||
devnetGenesis = FindDevNetGenesisBlock(consensus, genesis, 50 * COIN);
|
devnetGenesis = FindDevNetGenesisBlock(genesis, 50 * COIN);
|
||||||
consensus.hashDevnetGenesisBlock = devnetGenesis.GetHash();
|
consensus.hashDevnetGenesisBlock = devnetGenesis.GetHash();
|
||||||
|
|
||||||
vFixedSeeds.clear();
|
vFixedSeeds.clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user