From 424587451fc8eaa4c7e006f08a933b1f95291614 Mon Sep 17 00:00:00 2001 From: re1ro Date: Thu, 13 Jun 2024 11:18:21 -0400 Subject: [PATCH] Update move/operators/sources/operators.move Co-authored-by: Milap Sheth --- move/operators/sources/operators.move | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/move/operators/sources/operators.move b/move/operators/sources/operators.move index 99bab779..ea534690 100644 --- a/move/operators/sources/operators.move +++ b/move/operators/sources/operators.move @@ -221,7 +221,7 @@ module operators::operators { let new_operator = @0x1; add_operator(&mut operators, &owner_cap, new_operator, ctx); - assert!(operators.operators.keys().length() == 1, 0); + assert!(operators.operators.size() == 1, 0); let operator_id = operators.operators.keys()[0]; remove_operator(&mut operators, &owner_cap, operator_id);