Dispatch peerHas to JobQueue

This commit is contained in:
JoelKatz
2014-01-11 00:38:43 -08:00
committed by David Schwartz
parent 809359e81e
commit ab8d7a86ae
2 changed files with 6 additions and 9 deletions

View File

@@ -1563,7 +1563,7 @@ SHAMapAddNode NetworkOPsImp::gotTXData (const boost::shared_ptr<Peer>& peer, uin
bool NetworkOPsImp::hasTXSet (const boost::shared_ptr<Peer>& peer, uint256 const& set, protocol::TxSetStatus status)
{
if (!haveConsensusObject ())
if (mConsensus == nullptr)
{
m_journal.info << "Peer has TX set, not during consensus";
return false;