Delete many things we do not want or need
This commit is contained in:
@@ -557,17 +557,17 @@ CAmount CCoinsViewCache::GetValueIn(int32_t nHeight,int64_t *interestp,const CTr
|
||||
CAmount value,nResult = 0;
|
||||
if ( interestp != 0 )
|
||||
*interestp = 0;
|
||||
if ( tx.IsCoinImport() )
|
||||
return GetCoinImportValue(tx);
|
||||
//if ( tx.IsCoinImport() )
|
||||
// return GetCoinImportValue(tx);
|
||||
if ( tx.IsCoinBase() != 0 )
|
||||
return 0;
|
||||
for (unsigned int i = 0; i < tx.vin.size(); i++)
|
||||
{
|
||||
if (tx.IsPegsImport() && i==0)
|
||||
{
|
||||
nResult = GetCoinImportValue(tx);
|
||||
continue;
|
||||
}
|
||||
//if (tx.IsPegsImport() && i==0)
|
||||
//{
|
||||
// nResult = GetCoinImportValue(tx);
|
||||
// continue;
|
||||
//}
|
||||
value = GetOutputFor(tx.vin[i]).nValue;
|
||||
nResult += value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user