Skip to content

Commit

Permalink
edit space calc
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrinathNR committed Oct 29, 2024
1 parent 59067a9 commit 5f2530c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rs_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1558,7 +1558,7 @@ impl ProgramAccount {

if field_type.contains("Pubkey") {
space += 32 * len;
} else if field_type.contains("u64") | field_type.contains("u64") {
} else if field_type.contains("u64") | field_type.contains("i64") {
space += 8 * len;
} else if field_type.contains("u32") | field_type.contains("i32") {
space += 4 * len;
Expand Down

0 comments on commit 5f2530c

Please sign in to comment.