From df8cd1180f78ae7a8bd0512ed539e6c5f758d08a Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Mon, 28 Jun 2021 21:00:42 -0400 Subject: [PATCH] delete dead code --- src/miner.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/miner.cpp b/src/miner.cpp index 159682f32..9a843a52d 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -210,10 +210,6 @@ CBlockTemplate* CreateNewBlock(CPubKey _pk,const CScript& _scriptPubKeyIn, int32 // Collect memory pool transactions into the block CAmount nFees = 0; - // we will attempt to spend any cheats we see - CTransaction cheatTx; - boost::optional cheatSpend; - uint256 cbHash; boost::this_thread::interruption_point(); // exit thread before entering locks.