Bugfix: Put root node in map.

This commit is contained in:
JoelKatz
2011-11-25 13:51:34 -08:00
parent 997ea843d1
commit a9e6f0b70f

View File

@@ -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)