GetProofOfWorkReward depends on nHeight

rpcmining.cpp did not…