mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Reformatting using AStyle
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
|
||||
std::ostream& operator<<(std::ostream& out, const SHAMapMissingNode& mn)
|
||||
std::ostream& operator<< (std::ostream& out, const SHAMapMissingNode& mn)
|
||||
{
|
||||
switch (mn.getMapType ())
|
||||
{
|
||||
case smtTRANSACTION:
|
||||
out << "Missing/TXN(" << mn.getNodeID() << "/" << mn.getNodeHash() << ")";
|
||||
out << "Missing/TXN(" << mn.getNodeID () << "/" << mn.getNodeHash () << ")";
|
||||
break;
|
||||
|
||||
case smtSTATE:
|
||||
out << "Missing/STA(" << mn.getNodeID() << "/" << mn.getNodeHash() << ")";
|
||||
out << "Missing/STA(" << mn.getNodeID () << "/" << mn.getNodeHash () << ")";
|
||||
break;
|
||||
|
||||
case smtFREE:
|
||||
default:
|
||||
out << "Missing/" << mn.getNodeID();
|
||||
out << "Missing/" << mn.getNodeID ();
|
||||
break;
|
||||
};
|
||||
|
||||
return out;
|
||||
return out;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user