Crud, previous fix was incorrect.

This commit is contained in:
JoelKatz
2013-03-06 16:17:50 -08:00
parent 646f7ca5de
commit 0e4b1e00a7

View File

@@ -153,7 +153,7 @@ bool SHAMap::getNodeFat(const SHAMapNode& wanted, std::vector<SHAMapNode>& nodeI
throw std::runtime_error("Peer requested node not in map");
}
if (node->isEmpty())
if (node->isInner() && node->isEmpty())
{
cLog(lsWARNING) << "peer requests empty node";
return false;