|
|
|
@ -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); |
|
|
|
|