Skip to content

Commit ac358b1

Browse files
committed
simplify equals input
1 parent ed53bbe commit ac358b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/provable/dynamic-array.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ class DynamicArrayBase<ProvableValue = any, Value = any> {
373373
* @returns true or false depending on whether the dynamic array is empty
374374
*/
375375
isEmpty(): Bool {
376-
return this.length.equals(new Field(0));
376+
return this.length.equals(0);
377377
}
378378

379379
/**

0 commit comments

Comments
 (0)