mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-11 07:17:53 +00:00
RPC, cosmetic: de-indent getblocktemplate()
This commit is contained in:
parent
79f2525ab6
commit
ddd1ffb4f1
@ -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!");
|
||||
|
||||
@ -2075,7 +2074,6 @@ Value getblocktemplate(const Array& params, bool fHelp)
|
||||
result.push_back(Pair("height", (int64_t)(pindexPrev->nHeight+1)));
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
Value submitblock(const Array& params, bool fHelp)
|
||||
|
Loading…
Reference in New Issue
Block a user