This commit is contained in:
blackjok3r
2018-12-17 19:14:49 +08:00
parent 8402a8e954
commit e57b2a05fa
2 changed files with 2 additions and 2 deletions

View File

@@ -3311,7 +3311,8 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin
{ {
if (!view.HaveInputs(tx)) if (!view.HaveInputs(tx))
{ {
return state.DoS(100, error("ConnectBlock(): inputs missing/spent %s",tx.GetHash().ToString().c_str()), fprintf(stderr, "Connect Block missing inputs tx_number.%d \nvin txid.%s vout.%ld \n",i,tx.vin[0].prevout.hash.ToString().c_str(),tx.vin[0].prevout.n);
return state.DoS(100, error("ConnectBlock(): inputs missing/spent"),
REJECT_INVALID, "bad-txns-inputs-missingorspent"); REJECT_INVALID, "bad-txns-inputs-missingorspent");
} }
// are the JoinSplit's requirements met? // are the JoinSplit's requirements met?

View File

@@ -1579,7 +1579,6 @@ void static BitcoinMiner()
LogPrintf("Block %d : PoS %d%% vs target %d%% \n",Mining_height,percPoS,(int32_t)ASSETCHAINS_STAKED); LogPrintf("Block %d : PoS %d%% vs target %d%% \n",Mining_height,percPoS,(int32_t)ASSETCHAINS_STAKED);
} }
} }
//bool breakLoop;
while (true) while (true)
{ {
/*if ( KOMODO_INSYNC == 0 ) /*if ( KOMODO_INSYNC == 0 )