net: Pass CConnection to wallet rather than using the global

This commit is contained in:
Cory Fields
2016-05-24 20:56:17 -04:00
parent 8d58c4d81f
commit 5b446dd5b1
7 changed files with 30 additions and 20 deletions

View File

@@ -6431,7 +6431,7 @@ bool SendMessages(CNode* pto, CConnman& connman)
// transactions become unconfirmed and spams other nodes.
if (!fReindex && !fImporting && !IsInitialBlockDownload())
{
GetMainSignals().Broadcast(nTimeBestReceived);
GetMainSignals().Broadcast(nTimeBestReceived, &connman);
}
//