From 7e41e6974f5fb68d89ba3fe4325b29ffb89b44e5 Mon Sep 17 00:00:00 2001 From: lateminer Date: Tue, 23 Oct 2018 23:30:04 +0300 Subject: [PATCH] Remove redundant chainparams declaration main.cpp --- src/main.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index a125c5389..b51c9d272 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2840,7 +2840,6 @@ void static UpdateTip(CBlockIndex *pindexNew, const CChainParams& chainParams) { /** Disconnect chainActive's tip. You probably want to call mempool.removeForReorg and manually re-limit mempool size after this, with cs_main held. */ bool static DisconnectTip(CValidationState& state, const CChainParams& chainparams) { - const CChainParams& chainparams = Params(); // TODO replace consensusParams parameter CBlockIndex *pindexDelete = chainActive.Tip(); assert(pindexDelete); // Read block from disk.