diff --git a/move/operators/sources/operators/operators.move b/move/operators/sources/operators/operators.move index a502b7fd..0273ab36 100644 --- a/move/operators/sources/operators/operators.move +++ b/move/operators/sources/operators/operators.move @@ -88,8 +88,6 @@ module operators::operators { /// Removes a capability from the `Operators` struct. public fun remove_cap(self: &mut Operators, _: &OwnerCap, cap_id: ID): T { - assert!(self.caps.contains(cap_id), 0); - self.caps.remove(cap_id) }