Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit 45a2a39

Browse files
committed
Add documentation to withdraw_minter method
1 parent d18784c commit 45a2a39

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

store/src/minting.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,9 @@ impl MintbaseStore {
264264
}
265265
}
266266

267+
/// The calling account will try to withdraw as minter from this NFT smart
268+
/// contract. If the calling account is not a minter on the NFT smart
269+
/// contract, this will still succeed but have no effect.
267270
pub fn withdraw_minter(&mut self) {
268271
assert_yocto_deposit!();
269272
self.revoke_minter_internal(&env::predecessor_account_id())

0 commit comments

Comments
 (0)