Fix SHAMap state when tx sync completes.

This commit is contained in:
JoelKatz
2012-09-13 20:49:48 -07:00
parent bbddef8572
commit f7e68cfc51

View File

@@ -36,7 +36,10 @@ void TransactionAcquire::done()
theApp->getOPs().mapComplete(mHash, SHAMap::pointer());
}
else
{
mMap->setImmutable();
theApp->getOPs().mapComplete(mHash, mMap);
}
}
boost::weak_ptr<PeerSet> TransactionAcquire::pmDowncast()