mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 23:45:51 +00:00
Slice improvements:
* Rename to makeSlice * Well defined default construction * Add `empty` * Add operator[] * Buffer arithmetic
This commit is contained in:
@@ -3206,7 +3206,7 @@ bool NetworkOPsImp::getFetchPack (uint256 const& hash, Blob& data)
|
||||
|
||||
mFetchPack.del (hash, false);
|
||||
|
||||
if (hash != sha512Half(make_Slice(data)))
|
||||
if (hash != sha512Half(makeSlice(data)))
|
||||
{
|
||||
m_journal.warning << "Bad entry in fetch pack";
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user