Skip to content

Commit ef6cf3b

Browse files
feat(pausable): only security governor in unpause (#141)
1 parent 6603f2e commit ef6cf3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/utils/src/components/pausable/pausable.cairo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ pub(crate) mod PausableComponent {
7575
/// Emits an `Unpaused` event.
7676
fn unpause(ref self: ComponentState<TContractState>) {
7777
let roles = get_dep_component!(@self, Roles);
78-
roles.only_security_admin();
78+
roles.only_security_governor();
7979
self.assert_paused();
8080
self.paused.write(false);
8181
self.emit(Unpaused { account: get_caller_address() });

0 commit comments

Comments
 (0)