diff --git a/src/instantx.cpp b/src/instantx.cpp index e61974ccf..5148cf435 100644 --- a/src/instantx.cpp +++ b/src/instantx.cpp @@ -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; diff --git a/src/main.cpp b/src/main.cpp index fb3c4e02c..49e2c1bfd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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; } }