Remove commented out code
This commit is contained in:
@@ -308,12 +308,7 @@ CBlockTemplate* CreateNewBlock(CPubKey _pk,const CScript& _scriptPubKeyIn, int32
|
||||
bool fMissingInputs = false;
|
||||
bool fNotarization = false;
|
||||
std::vector<int8_t> 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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user