From 215d0b7db4b29efd75806d43453f15b07da992d5 Mon Sep 17 00:00:00 2001 From: Duke Date: Thu, 12 Sep 2024 20:02:10 -0400 Subject: [PATCH] Remove commented out code --- src/miner.cpp | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/miner.cpp b/src/miner.cpp index 6bc205ed4..b3d7fd324 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -308,12 +308,7 @@ CBlockTemplate* CreateNewBlock(CPubKey _pk,const CScript& _scriptPubKeyIn, int32 bool fMissingInputs = false; bool fNotarization = false; std::vector TMP_NotarizationNotaries; - //if (tx.IsCoinImport()) - //{ - // CAmount nValueIn = GetCoinImportValue(tx); // burn amount - // nTotalIn += nValueIn; - // dPriority += (double)nValueIn * 1000; // flat multiplier... max = 1e16. - //} else + { TMP_NotarizationNotaries.clear(); bool fToCryptoAddress = false; @@ -322,15 +317,6 @@ CBlockTemplate* CreateNewBlock(CPubKey _pk,const CScript& _scriptPubKeyIn, int32 BOOST_FOREACH(const CTxIn& txin, tx.vin) { - /* - if (tx.IsPegsImport() && txin.prevout.n==10e8) - { - CAmount nValueIn = GetCoinImportValue(tx); // burn amount - nTotalIn += nValueIn; - dPriority += (double)nValueIn * 1000; // flat multiplier... max = 1e16. - continue; - } - */ // Read prev transaction if (!view.HaveCoins(txin.prevout.hash)) {