mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Tidy up SHAMap node handling of invalid wire formats
This commit is contained in:
@@ -239,6 +239,9 @@ public:
|
||||
Blob (node.nodedata().begin(), node.nodedata().end()),
|
||||
0, snfWIRE, uZero, false);
|
||||
|
||||
if (!newNode)
|
||||
return;
|
||||
|
||||
s.erase();
|
||||
newNode->addRaw(s, snfPREFIX);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user