mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 15:19:07 +01:00
Remove unused g_best_block
This commit is contained in:
committed by
Sjors Provoost
parent
e3a560ca68
commit
7942951e3f
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user