Skip to content
Browse files

Merge pull request #6234

ef5fca8 fix rpcmining/getblocktemplate univalue transition logic error (Jonas Schnelli)
  • Loading branch information
laanwj committed Jun 5, 2015
2 parents 466f0ea + ef5fca8 commit d38cd47fe3d65d3d6d867d6fb61a4ce24f0747b3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/rpcmining.cpp
@@ -398,7 +398,7 @@ UniValue getblocktemplate(const UniValue& params, bool fHelp)
if (strMode == "proposal")
const UniValue& dataval = find_value(oparam, "data");
if (dataval.isStr())
if (!dataval.isStr())
throw JSONRPCError(RPC_TYPE_ERROR, "Missing data String key for proposal");

CBlock block;

0 comments on commit d38cd47

Please sign in to comment.
You can’t perform that action at this time.