RPC, cosmetic: de-indent getblocktemplate()

This commit is contained in:
Jeff Garzik 2012-08-21 02:06:09 -04:00 committed by Jeff Garzik
parent 79f2525ab6
commit ddd1ffb4f1
1 changed files with 108 additions and 110 deletions

View File

@ -1959,7 +1959,6 @@ Value getblocktemplate(const Array& params, bool fHelp)
if (strMode != "template")
throw JSONRPCError(-8, "Invalid mode");
{
if (vNodes.empty())
throw JSONRPCError(-9, "Bitcoin is not connected!");
@ -2076,7 +2075,6 @@ Value getblocktemplate(const Array& params, bool fHelp)
return result;
}
}
Value submitblock(const Array& params, bool fHelp)
{