From 9892eb8a590907d81a83920a6775d19d42d49972 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 21 Sep 2018 20:53:44 -1100 Subject: [PATCH] Test --- src/rpcblockchain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp index 39f62dfa1..4915bd0cf 100644 --- a/src/rpcblockchain.cpp +++ b/src/rpcblockchain.cpp @@ -1419,7 +1419,7 @@ UniValue getchaintips(const UniValue& params, bool fHelp) of another block. */ static pthread_mutex_t mutex; static int32_t didinit; if ( didinit == 0 ) - pthread_mutex_init(&mutex); + pthread_mutex_init(&mutex,NULL); pthread_mutex_lock(&mutex); std::set setTips; int32_t n = 0;