This commit is contained in:
blackjok3r
2018-11-11 06:35:30 +08:00
parent 47bc56ea6a
commit 7e45307718

View File

@@ -569,11 +569,6 @@ UniValue getblocktemplate(const UniValue& params, bool fHelp)
return BIP22ValidationResult(state);
}
}
if (coinbasetxn == false )
fprintf(stderr, "disable coinbase: %s\n",strMode.c_str());
//if (strMode != "template" || strMode != "disablecb")
// throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid mode");
if (vNodes.empty())
throw JSONRPCError(RPC_CLIENT_NOT_CONNECTED, "Komodo is not connected!");