Pass the full node type to the sync filter.

This commit is contained in:
JoelKatz
2012-10-25 01:45:26 -07:00
parent 6c0916beb4
commit edfcdbe46b
3 changed files with 7 additions and 7 deletions

View File

@@ -247,7 +247,7 @@ bool SHAMap::addKnownNode(const SHAMapNode& node, const std::vector<unsigned cha
{
Serializer s;
newNode->addRaw(s, snfPREFIX);
filter->gotNode(node, hash, s.peekData(), newNode->isLeaf());
filter->gotNode(node, hash, s.peekData(), newNode->getType());
}
mTNByID[*newNode] = newNode;