Skip to content

Commit

Permalink
fix: storing array size() return max size
Browse files Browse the repository at this point in the history
  • Loading branch information
julio4 committed Aug 21, 2023
1 parent 9f42f1d commit e0bd756
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ impl StoreFelt252Array of Store<Array<felt252>> {
}

fn size() -> u8 {
Store::<felt252>::size()
255 * Store::<felt252>::size()
}
}
// ANCHOR_END: StorageAccessImpl
Expand Down

0 comments on commit e0bd756

Please sign in to comment.