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
commit b45a52aeff
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
1 changed files with 1 additions and 0 deletions

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.