change nSubsidy's type from int64_t to CAmount