Change signature of SHAMap::getFetchPack to use SHAMapHash

This commit is contained in:
Howard Hinnant
2015-11-30 16:02:31 -05:00
committed by Nik Bougalis
parent 493752e1c6
commit 0dbacedb58
3 changed files with 5 additions and 5 deletions

View File

@@ -1915,12 +1915,12 @@ void LedgerMasterImp::makeFetchPack (
auto fpAppender = [](
protocol::TMGetObjectByHash* reply,
std::uint32_t ledgerSeq,
uint256 const& hash,
SHAMapHash const& hash,
const Blob& blob)
{
protocol::TMIndexedObject& newObj = * (reply->add_objects ());
newObj.set_ledgerseq (ledgerSeq);
newObj.set_hash (hash.begin (), 256 / 8);
newObj.set_hash (hash.as_uint256().begin (), 256 / 8);
newObj.set_data (&blob[0], blob.size ());
};