Update main.cpp

adjust subsidy and block validation for decimal change