Add root node in wire format.

This commit is contained in:
JoelKatz
2012-06-29 23:33:12 -07:00
parent 0627ae22da
commit c1d01348f8

View File

@@ -101,7 +101,7 @@ bool TransactionAcquire::takeNodes(const std::list<SHAMapNode>& nodeIDs,
Log(lsWARNING) << "Got root TXS node, already have it";
return false;
}
if (!mMap->addRootNode(getHash(), *nodeDatait))
if (!mMap->addRootNode(getHash(), *nodeDatait, STN_ARF_WIRE))
return false;
else mHaveRoot = true;
}