mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-28 15:05:53 +00:00
Crud, previous fix was incorrect.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user