From c46c04b331e4fb8175b852b49c9a570f431e7471 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 21 Sep 2018 20:29:58 -1100 Subject: [PATCH] Test --- src/rpcblockchain.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp index f280cfc72..bec1692c6 100644 --- a/src/rpcblockchain.cpp +++ b/src/rpcblockchain.cpp @@ -1410,8 +1410,6 @@ UniValue getchaintips(const UniValue& params, bool fHelp) + HelpExampleRpc("getchaintips", "") ); - if ( mapBlockIndex == 0 ) - throw runtime_error("mapBlockIndex is NULL\n"); LOCK(cs_main); /* Build up a list of chain tips. We start with the list of all