return 0 for incomplete tx locks

This commit is contained in:
Evan Duffield 2015-02-01 13:14:31 -07:00
parent c9585c7747
commit 6c8b23c0b2
2 changed files with 2 additions and 1 deletions

View File

@ -119,6 +119,7 @@ void ProcessMessageInstantX(CNode* pfrom, std::string& strCommand, CDataStream&
LOCK(cs_vNodes);
BOOST_FOREACH(CNode* pnode, vNodes)
{
printf("relay txlvote to %s : %s\n", pnode->addr.ToString().c_str(), ctx.tx.ToString().c_str());
pnode->PushMessage("txlvote", ctx);
}
return;

View File

@ -1168,7 +1168,7 @@ int CMerkleTx::IsTransactionLocked() const
return nInstantXDepth;
} else {
LogPrintf("InstantX::ProcessConsensusVote - Incomplete TX Lock %d %s\n", (*i).second.CountSignatures(), (*i).second.GetHash().ToString().c_str());
return nInstantXDepth;
return 0;
}
}