Skip to content

Commit 9f1ef4b

Browse files
committed
fix: change assert to assert!
1 parent 36ba1f6 commit 9f1ef4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validator/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3177,7 +3177,7 @@ fn process_account_indexes(matches: &ArgMatches) -> AccountSecondaryIndexes {
31773177
})
31783178
.collect();
31793179

3180-
assert(account_indexes.contains(&AccountIndex::ProgramId),
3180+
assert!(account_indexes.contains(&AccountIndex::ProgramId),
31813181
"The indexing should be enabled for program-id accounts. Add the following flag:\n\
31823182
--account-index program-id\n");
31833183

0 commit comments

Comments
 (0)