Skip to content

Commit f7814dd

Browse files
aumetrawebmaster128
andcommitted
Update packages/crypto/src/bls12_318/hash.rs
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
1 parent 6784a00 commit f7814dd

File tree

1 file changed

+1
-1
lines changed
  • packages/crypto/src/bls12_318

1 file changed

+1
-1
lines changed

packages/crypto/src/bls12_318/hash.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ type HashToCurve<CurveConfig, Hash> =
3737
#[derive(Clone, Copy, Debug)]
3838
#[non_exhaustive]
3939
pub enum HashFunction {
40-
Sha256,
40+
Sha256 = 0,
4141
}
4242

4343
#[doc(hidden)]

0 commit comments

Comments
 (0)