Browse Source

Removed accidental commit.

cn
Jianping Wu 6 years ago
parent
commit
8bf578cf49
  1. 2
      src/rpc/mining.cpp

2
src/rpc/mining.cpp

@ -441,13 +441,11 @@ UniValue getblocktemplate(const JSONRPCRequest& request) @@ -441,13 +441,11 @@ UniValue getblocktemplate(const JSONRPCRequest& request)
if(!g_connman)
throw JSONRPCError(RPC_CLIENT_P2P_DISABLED, "Error: Peer-to-peer functionality missing or disabled");
#if 0
if (g_connman->GetNodeCount(CConnman::CONNECTIONS_ALL) == 0)
throw JSONRPCError(RPC_CLIENT_NOT_CONNECTED, "Kevacoin is not connected!");
if (IsInitialBlockDownload())
throw JSONRPCError(RPC_CLIENT_IN_INITIAL_DOWNLOAD, "Kevacoin is downloading blocks...");
#endif
static unsigned int nTransactionsUpdatedLast;

Loading…
Cancel
Save