mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Verify invariants when calling SHAMapInnerNodeV2::addRaw (RIPD-1700)
This commit is contained in:
committed by
Nik Bougalis
parent
ba9ca1378e
commit
76d5ecb595
@@ -475,6 +475,7 @@ SHAMapInnerNodeV2::addRaw(Serializer& s, SHANodeFormat format) const
|
||||
{
|
||||
if (format == snfPREFIX)
|
||||
{
|
||||
assert(depth_ <= 64);
|
||||
s.add32 (HashPrefix::innerNodeV2);
|
||||
|
||||
for (int i = 0 ; i < 16; ++i)
|
||||
|
||||
Reference in New Issue
Block a user