aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2018-04-03 21:53:07 -0700
committerPieter Wuille <[email protected]>2018-04-03 21:53:27 -0700
commit4a6c0e3dcfdca98270cb96b73db4c3d4446dba50 (patch)
tree144d60525f085531ef71883d6d3a25f680d405db /src/init.cpp
parentFix csBestBlock/cvBlockChange waiting in rpc/mining (diff)
downloaddiscoin-4a6c0e3dcfdca98270cb96b73db4c3d4446dba50.tar.xz
discoin-4a6c0e3dcfdca98270cb96b73db4c3d4446dba50.zip
Modernize best block mutex/cv/hash variable naming
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index f6f522da6..747d91745 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -307,7 +307,7 @@ void OnRPCStopped()
{
uiInterface.NotifyBlockTip.disconnect(&RPCNotifyBlockChange);
RPCNotifyBlockChange(false, nullptr);
- cvBlockChange.notify_all();
+ g_best_block_cv.notify_all();
LogPrint(BCLog::RPC, "RPC stopped.\n");
}