File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1+ #![ allow( clippy:: result_large_err) ]
2+
13use anyhow:: { anyhow, Result as AnyResult } ;
24use indicatif:: ParallelProgressIterator ;
35use log:: { debug, error, info} ;
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ pub async fn snapshot_holders(args: HoldersArgs) -> Result<()> {
119119 } ) ;
120120
121121 let fvca_filter = |item : & Item | {
122- item. creators . first ( ) . is_some ( )
122+ ! item. creators . is_empty ( )
123123 && item. creators . first ( ) . unwrap ( ) . address . to_string ( ) == args. group_value . to_string ( )
124124 } ;
125125
@@ -441,7 +441,7 @@ pub async fn fcva_mints(args: FcvaArgs) -> Result<()> {
441441 . items
442442 . iter ( )
443443 . filter ( |item| {
444- item. creators . first ( ) . is_some ( )
444+ ! item. creators . is_empty ( )
445445 && item. creators . first ( ) . unwrap ( ) . address . to_string ( ) == creator
446446 } )
447447 . for_each ( |item| {
You can’t perform that action at this time.
0 commit comments