@@ -606,9 +606,10 @@ UniValue getblocktemplate(const UniValue& params, bool fHelp)
|
|||||||
return BIP22ValidationResult(state);
|
return BIP22ValidationResult(state);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
if (strMode != "template")
|
{
|
||||||
throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid mode");
|
strMode = "template";
|
||||||
|
}
|
||||||
|
|
||||||
bool fvNodesEmpty;
|
bool fvNodesEmpty;
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user