Update main.cpp

Simplified GetProofOfStakeReward() and removed unused parameters