Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update nft-collection.fc #61

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions func/nft-collection.fc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ _ unwrap_signed_cmd(slice signed_cmd, int public_key, int subwallet_id, int msg_
int op = in_msg_body~load_uint(32);

if (op == 0) { ;; regular money transfer
;; NB: it is not possible to recover any money transferred to this account
;; NB: money transferred to this account can't be recovered
;; so we return back all transfers except ones with comment #topup in it
throw_unless(err::wrong_topup_comment, equal_slices(in_msg_body, "#topup") & (in_msg_body.slice_refs() == 0));

Expand Down Expand Up @@ -106,4 +106,4 @@ cell get_nft_content(int index, cell individual_nft_content) method_id {
.store_slice(get_nft_address_by_index(item_index))
.end_cell();
return (top_subdomain_bits + skipped_bits, result);
}
}