mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Update.
This commit is contained in:
@@ -100,7 +100,7 @@ SHAMapNode::SHAMapNode(const void *ptr, int len)
|
||||
if (len < 33) mDepth = -1;
|
||||
else
|
||||
{
|
||||
memcpy(&mNodeID, ptr, 32);
|
||||
memcpy(mNodeID.begin(), ptr, 32);
|
||||
mDepth = *(static_cast<const unsigned char *>(ptr) + 32);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user