From c54c031a6c34bf8c6ac0f8e1e77a3c18b9cb78ea Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Wed, 15 Oct 2014 15:37:29 -0700 Subject: [PATCH] minor. consistency. --- src/bitcoindjs.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bitcoindjs.cc b/src/bitcoindjs.cc index 79cceaec..d27d24f5 100644 --- a/src/bitcoindjs.cc +++ b/src/bitcoindjs.cc @@ -283,7 +283,7 @@ init(Handle); * Used only by bitcoindjs functions. */ -static volatile bool shutdownComplete = false; +static volatile bool shutdown_complete = false; static int block_poll_top_height = -1; static char *g_data_dir = NULL; @@ -623,7 +623,7 @@ start_node_thread(void) { Shutdown(); // bitcoind is shutdown, notify the main thread. - shutdownComplete = true; + shutdown_complete = true; } /** @@ -665,7 +665,7 @@ NAN_METHOD(StopBitcoind) { /** * async_stop_node() * Call StartShutdown() to join the boost threads, which will call Shutdown() - * and set shutdownComplete to true to notify the main node.js thread. + * and set shutdown_complete to true to notify the main node.js thread. */ static void @@ -734,7 +734,7 @@ NAN_METHOD(IsStopping) { NAN_METHOD(IsStopped) { NanScope(); - NanReturnValue(NanNew(shutdownComplete)); + NanReturnValue(NanNew(shutdown_complete)); } /**