Put the missing node type in the SHAMapMissingNode exception.

This commit is contained in:
JoelKatz
2012-10-11 03:16:18 -07:00
parent 67477beecb
commit 4f1ebc2884
3 changed files with 12 additions and 9 deletions

View File

@@ -120,7 +120,7 @@ bool SHAMap::compare(SHAMap::ref otherMap, SHAMapDiff& differences, int maxCount
if (!ourNode || !otherNode)
{
assert(false);
throw SHAMapMissingNode(dNode.mNodeID, uint256());
throw SHAMapMissingNode(mType, dNode.mNodeID, uint256());
}
if (ourNode->isLeaf() && otherNode->isLeaf())