mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Output the hash of a node we can't find when we log it.
This commit is contained in:
@@ -513,9 +513,9 @@ bool SHAMapTreeNode::setChildHash(int m, const uint256 &hash)
|
||||
std::ostream& operator<<(std::ostream& out, const SHAMapMissingNode& mn)
|
||||
{
|
||||
if (mn.getMapType() == smtTRANSACTION)
|
||||
out << "Missing/TXN(" << mn.getNodeID() << ")";
|
||||
out << "Missing/TXN(" << mn.getNodeID() << "/" << mn.getNodeHash() << ")";
|
||||
else if (mn.getMapType() == smtSTATE)
|
||||
out << "Missing/STA(" << mn.getNodeID() << ")";
|
||||
out << "Missing/STA(" << mn.getNodeID() << "/" << mn.getNodeHash() << ")";
|
||||
else
|
||||
out << "Missing/" << mn.getNodeID();
|
||||
return out;
|
||||
|
||||
Reference in New Issue
Block a user