Upcoming solar maximum may help solve the sun's gamma-ray puzzle