diff --git a/nft/nft-item-editable-DRAFT.fc b/nft/nft-item-editable-DRAFT.fc index 618f8b5..be2b057 100644 --- a/nft/nft-item-editable-DRAFT.fc +++ b/nft/nft-item-editable-DRAFT.fc @@ -50,7 +50,7 @@ int min_tons_for_storage() asm "50000000 PUSHINT"; ;; 0.05 TON () send_msg(slice to_address, int amount, int op, int query_id, builder payload, int send_mode) impure inline { var msg = begin_cell() - .store_uint(0x10, 6) ;; nobounce - int_msg_info$0 ihr_disabled:Bool bounce:Bool bounced:Bool src:MsgAddress -> 011000 + .store_uint(0x10, 6) ;; nobounce - int_msg_info$0 ihr_disabled:Bool bounce:Bool bounced:Bool src:MsgAddress -> 010000 .store_slice(to_address) .store_coins(amount) .store_uint(0, 1 + 4 + 4 + 64 + 32 + 1 + 1) @@ -72,6 +72,7 @@ int min_tons_for_storage() asm "50000000 PUSHINT"; ;; 0.05 TON slice response_destination = in_msg_body~load_msg_addr(); in_msg_body~load_int(1); ;; this nft don't use custom_payload int forward_amount = in_msg_body~load_coins(); + throw_unless(708, slice_bits(in_msg_body) >= 1); int rest_amount = my_balance - min_tons_for_storage(); if (forward_amount) {