mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Remove unused g_best_block
This commit is contained in:
parent
e3a560ca68
commit
7942951e3f
4 changed files with 7 additions and 22 deletions
|
|
@ -303,7 +303,6 @@ void StopRPC(const std::any& context)
|
|||
LogDebug(BCLog::RPC, "Stopping RPC\n");
|
||||
WITH_LOCK(g_deadline_timers_mutex, deadlineTimers.clear());
|
||||
DeleteAuthCookie();
|
||||
g_best_block_cv.notify_all();
|
||||
node::NodeContext& node = EnsureAnyNodeContext(context);
|
||||
// The notifications interface doesn't exist between initialization step 4a and 7.
|
||||
if (node.notifications) node.notifications->m_tip_block_cv.notify_all();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue