TelegramMessenger / telemint

Telegram Auction Platform smart contracts
GNU General Public License v3.0
345 stars 71 forks source link

;; ignore errors in function send_money #39

Open isopen opened 2 years ago

isopen commented 2 years ago

Case when an error occurred while sending amount_to_send

  1. L6 send_msg(address, amount_to_send, op::fill_up, cur_lt(), null(), 2); ;; ignore errors (suppose an error occurred at this step)
  2. 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