fix improper underflow check
One of the underflow checks in the proto
package was incomplete, resulting in crashes for users with low allowances.
One of the underflow checks in the proto
package was incomplete, resulting in crashes for users with low allowances.