net: Pass CConnection to wallet rather than using the global
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user