Skip to content

Commit

Permalink
update mft_unregister
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicGordon committed Oct 10, 2024
1 parent 085aa66 commit 42503ec
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ref-exchange/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### Version 1.9.7
```
B2646W6czcBc6AnZfb4uETrAfcptNicVuYeiraoZFKA8
CDxiMv7NTRzmzD2c3GLCvYg6jJnerMys8defRsEoq3cR
```
1. fix identity verification for the whitelisted_postfix related functions.
2. add donation functions.
Expand Down
1 change: 1 addition & 0 deletions ref-exchange/src/multi_fungible_token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ impl Contract {
#[payable]
pub fn mft_unregister(&mut self, token_id: String) {
assert_one_yocto();
self.assert_contract_running();
let account_id = env::predecessor_account_id();
let prev_storage = env::storage_usage();
match parse_token_id(token_id) {
Expand Down
Binary file modified releases/ref_exchange_release.wasm
Binary file not shown.

0 comments on commit 42503ec

Please sign in to comment.