Browse Source

Litecoin: getworkex: CreateNewBlock() scriptPubKey argument instead of key

0.8
Warren Togami 11 years ago
parent
commit
cdd76fa878
  1. 2
      src/rpcmining.cpp

2
src/rpcmining.cpp

@ -209,7 +209,7 @@ Value getworkex(const Array& params, bool fHelp) @@ -209,7 +209,7 @@ Value getworkex(const Array& params, bool fHelp)
nStart = GetTime();
// Create new block
pblocktemplate = CreateNewBlock(reservekey);
pblocktemplate = CreateNewBlockWithKey(*pMiningKey);
if (!pblocktemplate)
throw JSONRPCError(RPC_OUT_OF_MEMORY, "Out of memory");
vNewBlockTemplate.push_back(pblocktemplate);

Loading…
Cancel
Save