Correctly handle emptying an inner node.

This commit is contained in:
JoelKatz
2013-06-10 21:40:34 -07:00
parent c27065ab58
commit 5e0a1b23b5

View File

@@ -191,6 +191,8 @@ bool SHAMapTreeNode::updateHash()
assert(nh == s.getSHA512Half()); assert(nh == s.getSHA512Half());
#endif #endif
} }
else
nh.zero();
} }
else if (mType == tnTRANSACTION_NM) else if (mType == tnTRANSACTION_NM)
{ {