FindDevNetGenesisBlock remove unused arg (#3405)

This commit is contained in:
Peter Bushnell 2020-04-08 21:18:04 +01:00 committed by GitHub
parent c678510677
commit c1d9dd553a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();