Skip to content

Commit

Permalink
make pub crate because cfg test essentially makes it pub crate anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Apr 22, 2024
1 parent ca6c309 commit b51e75a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soroban-sdk/src/crypto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ impl<const N: usize> Hash<N> {
/// This is intended for test-only, since `Hash` type is only meant to be
/// constructed via secure manners.
#[cfg(test)]
pub fn from_bytes(bytes: BytesN<N>) -> Self {
pub(crate) fn from_bytes(bytes: BytesN<N>) -> Self {
Self(bytes)
}
}
Expand Down

0 comments on commit b51e75a

Please sign in to comment.