telemint
telemint copied to clipboard
;; ignore errors in function send_money
Case when an error occurred while sending amount_to_send
-
L6
send_msg(address, amount_to_send, op::fill_up, cur_lt(), null(), 2); ;; ignore errors
(suppose an error occurred at this step) -
L7
current balance decreased by amount_to_send
my_balance -= amount_to_send;
Toncoins were not sent, but the user's balance decreased. It may be necessary to use throw_if