mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-25 06:55:32 +01:00
net: Pass CConnection to wallet rather than using the global
This commit is contained in:
@@ -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