Merge #10404: doc: Add logging to FinalizeNode()

1530bfc Add logging to FinalizeNode() (Suhas Daftuar)

Tree-SHA512: 34bd950eb7830f378d069229c24122e97db68435b313f0de2c8772c2feefdc6db5f4d1f43eeade237ffe91cdef0f1cfe3232e1a37c561a65767f4527b2e2e370
This commit is contained in:
Wladimir J. van der Laan 2017-05-16 12:12:58 +02:00 committed by Pasta
parent f2ee6f1aa5
commit c4bd31a4e4
No known key found for this signature in database
GPG Key ID: D362C9F7142766AE

View File

@ -342,6 +342,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.