Update main.cpp

fix broken block reward