Update wallet.cpp

Calculate nHeight and use it instead of nFees in GetProofOfStakeReward() call