Update core.h

fixing incorrect max_money