mirror of
https://github.com/dashpay/dash.git
synced 2024-12-29 13:59:06 +01:00
Litecoin: getworkex: CreateNewBlock() scriptPubKey argument instead of key
This commit is contained in:
parent
4e111e0a8f
commit
cdd76fa878
@ -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…
Reference in New Issue
Block a user