File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -439,7 +439,7 @@ void CNode::CloseSocketDisconnect()
439439
440440void CNode::PushVersion ()
441441{
442- int nBestHeight = g_signals .GetHeight ().get_value_or (0 );
442+ int nBestHeight = GetNodeSignals () .GetHeight ().get_value_or (0 );
443443
444444 int64_t nTime = (fInbound ? GetAdjustedTime () : GetTime ());
445445 CAddress addrYou = (addr.IsRoutable () && !IsProxy (addr) ? addr : CAddress (CService (" 0.0.0.0" ,0 )));
@@ -1742,7 +1742,7 @@ void ThreadMessageHandler()
17421742 TRY_LOCK (pnode->cs_vRecvMsg , lockRecv);
17431743 if (lockRecv)
17441744 {
1745- if (!g_signals .ProcessMessages (pnode))
1745+ if (!GetNodeSignals () .ProcessMessages (pnode))
17461746 pnode->CloseSocketDisconnect ();
17471747
17481748 if (pnode->nSendSize < SendBufferSize ())
@@ -1760,7 +1760,7 @@ void ThreadMessageHandler()
17601760 {
17611761 TRY_LOCK (pnode->cs_vSend , lockSend);
17621762 if (lockSend)
1763- g_signals .SendMessages (pnode);
1763+ GetNodeSignals () .SendMessages (pnode);
17641764 }
17651765 boost::this_thread::interruption_point ();
17661766 }
You can’t perform that action at this time.
0 commit comments