mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +00:00
Merge branch 'master' of github.com:jedmccaleb/NewCoin
This commit is contained in:
@@ -1044,7 +1044,10 @@ bool LedgerConsensus::peerHasSet(Peer::ref peer, const uint256& hashSet, ripple:
|
|||||||
set.push_back(peer);
|
set.push_back(peer);
|
||||||
boost::unordered_map<uint256, TransactionAcquire::pointer>::iterator acq = mAcquiring.find(hashSet);
|
boost::unordered_map<uint256, TransactionAcquire::pointer>::iterator acq = mAcquiring.find(hashSet);
|
||||||
if (acq != mAcquiring.end())
|
if (acq != mAcquiring.end())
|
||||||
acq->second->peerHas(peer);
|
{
|
||||||
|
TransactionAcquire::pointer ta = acq->second; // make sure it doesn't go away
|
||||||
|
ta->peerHas(peer);
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user