Update main.cpp

Added nHeight parameter to GetProofOfWorkReward() call