From c1d9dd553a9c62b5b845237ac2eadbdfcf021155 Mon Sep 17 00:00:00 2001 From: Peter Bushnell Date: Wed, 8 Apr 2020 21:18:04 +0100 Subject: [PATCH] FindDevNetGenesisBlock remove unused arg (#3405) --- src/chainparams.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/chainparams.cpp b/src/chainparams.cpp index dc7d85ff05..1d84524c92 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -134,7 +134,7 @@ void CChainParams::UpdateLLMQDevnetParams(int size, int 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(); assert(!devNetName.empty()); @@ -702,7 +702,7 @@ public: assert(consensus.hashGenesisBlock == uint256S("0x000008ca1832a4baf228eb1553c03d3a2c8e02399550dd6ea8d65cec3ef23d2e")); assert(genesis.hashMerkleRoot == uint256S("0xe0028eb9648db56b1ac77cf090b99048a8007e2bb64b68f092c03c7f56a662c7")); - devnetGenesis = FindDevNetGenesisBlock(consensus, genesis, 50 * COIN); + devnetGenesis = FindDevNetGenesisBlock(genesis, 50 * COIN); consensus.hashDevnetGenesisBlock = devnetGenesis.GetHash(); vFixedSeeds.clear();