mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Bugfixes.
This commit is contained in:
@@ -196,6 +196,7 @@ SHAMapTreeNode::SHAMapTreeNode(const SHAMapNode& id, const std::vector<unsigned
|
||||
int type = s.removeLastByte();
|
||||
int len = s.getLength();
|
||||
if ((type < 0) || (type > 3)) throw SHAMapException(InvalidNode);
|
||||
assert(len >= 33);
|
||||
|
||||
if (type == 0)
|
||||
{ // transaction
|
||||
|
||||
Reference in New Issue
Block a user