You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/wallet/diagnose.h
+5-5
Original file line number
Diff line number
Diff line change
@@ -185,7 +185,7 @@ class Diagnose
185
185
static CCriticalSection cs_diagnostictests; //!< used to protect the critical sections, for multithreading
186
186
TestNames m_test_name; //!< This must be defined for derived classes. Each derived class must declare the name of the test and add to the TestNames enum
187
187
static std::unordered_map<Diagnose::TestNames, Diagnose*> m_name_to_test_map; //!< a map to save the test and a pointer to it. Some tests are related and need to access the results of each other.
188
-
static boost::asio::io_service s_ioService;
188
+
static boost::asio::io_context s_ioService;
189
189
};
190
190
191
191
/**
@@ -381,7 +381,7 @@ class VerifyClock : public Diagnose
381
381
382
382
connectToNTPHost();
383
383
384
-
s_ioService.reset();
384
+
s_ioService.restart();
385
385
s_ioService.run();
386
386
}
387
387
}
@@ -638,7 +638,7 @@ class VerifyTCPPort : public Diagnose
0 commit comments