message: Fix getblocktemplate rpc call for PoS blocks
diff: @@ -612,7 +612,7 @@ UniValue getblocktemplate(const JSONRPCRequest& request)
  // Create new block
  CScript scriptDummy = CScript() << OP_TRUE;
  - pblocktemplate = BlockAssembler(Params()).CreateNewBlock(scriptDummy, fSupportsSegwit);
  + pblocktemplate = BlockAssembler(Params()).CreateNewBlock(scriptDummy, fSupportsSegwit, chainActive.Tip()->nHeight>=Params().GetConsensus().nLastPOWBlock?true:false);
  if (!pblocktemplate)
  throw JSONRPCError(RPC_OUT_OF_MEMORY, "Out of memory");
  