Skip to content

Commit

Permalink
make Hash field pub otherwise impossible to use function
Browse files Browse the repository at this point in the history
  • Loading branch information
TAdev0 committed Aug 13, 2024
1 parent 80230eb commit 953a8df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use core::to_byte_array::AppendFormattedToByteArray;
// pub is required here as we define Hash in utils and we need to import Hash in merkle_tree.cairo
// for arguments to merkle_root function
pub struct Hash {
value: [u32; 8]
pub value: [u32; 8]
}

#[generate_trait]
Expand Down

0 comments on commit 953a8df

Please sign in to comment.