Add logging to FinalizeNode()

This commit is contained in:
Suhas Daftuar 2017-05-15 10:20:18 -04:00
parent 41987aa92f
commit 1530bfc72d

View file

@ -303,6 +303,7 @@ void FinalizeNode(NodeId nodeid, bool& fUpdateConnectionTime) {
assert(nPreferredDownload == 0);
assert(nPeersWithValidatedDownloads == 0);
}
LogPrint(BCLog::NET, "Cleared nodestate for peer=%d\n", nodeid);
}
// Requires cs_main.