From 2472816be1475ba66c8636342305f98e1dc8aee1 Mon Sep 17 00:00:00 2001 From: re1ro Date: Wed, 12 Jun 2024 15:38:36 -0400 Subject: [PATCH] Update move/operators/sources/operators/operators.move Co-authored-by: Milap Sheth --- move/operators/sources/operators/operators.move | 2 -- 1 file changed, 2 deletions(-) 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) }