prints
This commit is contained in:
@@ -1316,9 +1316,11 @@ bool CheckTransactionWithoutProofVerification(uint32_t tiptime,const CTransactio
|
|||||||
|
|
||||||
// Transactions containing empty `vin` must have either non-empty
|
// Transactions containing empty `vin` must have either non-empty
|
||||||
// `vjoinsplit` or non-empty `vShieldedSpend`.
|
// `vjoinsplit` or non-empty `vShieldedSpend`.
|
||||||
if (tx.vin.empty() && tx.vjoinsplit.empty() && tx.vShieldedSpend.empty())
|
if (tx.vin.empty() && tx.vjoinsplit.empty() && tx.vShieldedSpend.empty()) {
|
||||||
return state.DoS(10, error("CheckTransaction(): vin empty"),
|
return state.DoS(10, error("CheckTransaction(): vin empty"),
|
||||||
REJECT_INVALID, "bad-txns-vin-empty");
|
REJECT_INVALID, "bad-txns-vin-empty");
|
||||||
|
printf("vim empty for tx: %s\n",tx.GetHash().ToString().c_str());
|
||||||
|
}
|
||||||
// Transactions containing empty `vout` must have either non-empty
|
// Transactions containing empty `vout` must have either non-empty
|
||||||
// `vjoinsplit` or non-empty `vShieldedOutput`.
|
// `vjoinsplit` or non-empty `vShieldedOutput`.
|
||||||
if (tx.vout.empty() && tx.vjoinsplit.empty() && tx.vShieldedOutput.empty())
|
if (tx.vout.empty() && tx.vjoinsplit.empty() && tx.vShieldedOutput.empty())
|
||||||
|
|||||||
@@ -5365,7 +5365,7 @@ int32_t komodo_staked(CMutableTransaction &txNew,uint32_t nBits,uint32_t *blockt
|
|||||||
}
|
}
|
||||||
} //else fprintf(stderr,"utxo not eligible\n");
|
} //else fprintf(stderr,"utxo not eligible\n");
|
||||||
}
|
}
|
||||||
if ( numkp < 1000000 && array != 0 )
|
if ( numkp < 10000 && array != 0 )
|
||||||
{
|
{
|
||||||
free(array);
|
free(array);
|
||||||
array = 0;
|
array = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user