fix getblocktemplate for PoW while staking

This commit is contained in:
blackjok3r
2019-01-26 12:57:05 +08:00
parent 5131e12bd7
commit 304de9777d

View File

@@ -717,7 +717,7 @@ UniValue getblocktemplate(const UniValue& params, bool fHelp)
}
#ifdef ENABLE_WALLET
CReserveKey reservekey(pwalletMain);
pblocktemplate = CreateNewBlockWithKey(reservekey,chainActive.LastTip()->GetHeight()+1,KOMODO_MAXGPUCOUNT);
pblocktemplate = CreateNewBlockWithKey(reservekey,chainActive.LastTip()->GetHeight()+1,KOMODO_MAXGPUCOUNT,false);
#else
pblocktemplate = CreateNewBlockWithKey();
#endif