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

Commit d18784c

Browse files
committed
Require yocto deposit to withdraw as minter
1 parent b7c6991 commit d18784c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

store/src/minting.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ impl MintbaseStore {
265265
}
266266

267267
pub fn withdraw_minter(&mut self) {
268+
assert_yocto_deposit!();
268269
self.revoke_minter_internal(&env::predecessor_account_id())
269270
}
270271

0 commit comments

Comments
 (0)