mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
Bugfix: Put root node in map.
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
SHAMap::SHAMap() : mSeq(0)
|
SHAMap::SHAMap() : mSeq(0)
|
||||||
{
|
{
|
||||||
root=SHAMapInnerNode::pointer(new SHAMapInnerNode(SHAMapNode(SHAMapNode::rootDepth, uint256()), mSeq));
|
root=SHAMapInnerNode::pointer(new SHAMapInnerNode(SHAMapNode(SHAMapNode::rootDepth, uint256()), mSeq));
|
||||||
|
mInnerNodeByID[*root]=root;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SHAMap::dirtyUp(const uint256& id)
|
void SHAMap::dirtyUp(const uint256& id)
|
||||||
|
|||||||
Reference in New Issue
Block a user