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

Commit b7c6991

Browse files
committed
Withdraw as minter
1 parent c8fccbd commit b7c6991

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

store/src/minting.rs

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

267+
pub fn withdraw_minter(&mut self) {
268+
self.revoke_minter_internal(&env::predecessor_account_id())
269+
}
270+
267271
// -------------------------- view methods -----------------------------
268272

269273
/// Check if `account_id` is a minter.

0 commit comments

Comments
 (0)