Skip to content

Commit 2306f87

Browse files
committed
add pause constraint
1 parent e65edd6 commit 2306f87

File tree

1 file changed

+1
-0
lines changed
  • programs/portal/src/instructions

1 file changed

+1
-0
lines changed

programs/portal/src/instructions/admin.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,7 @@ pub struct SetMint<'info> {
634634
#[account(
635635
mut,
636636
has_one = owner,
637+
constraint = config.paused @ NTTError::NotPaused,
637638
)]
638639
pub config: Account<'info, Config>,
639640

0 commit comments

Comments
 (0)