Closed qizhou closed 4 years ago
deduct_value() will check if there is sufficient balance, and thus using deduct_value() with check() will automatically prevent integer underflow.
deduct_value() will check if there is sufficient balance, and thus using deduct_value() with check() will automatically prevent integer underflow.