fix: strum serialize for sha2 function

This commit is contained in:
rvcas 2022-05-17 15:56:58 -04:00
parent e0e98f92e4
commit 6d5057dff4
No known key found for this signature in database
GPG Key ID: C09B64E263F7D68C
2 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,3 @@
(program 1.0.0
[[(builtin addInteger) (con integer 4)] (con integer 8)]
[(builtin sha2_256) (con bytestring #54686543616B654973414C6965)]
)

View File

@ -25,6 +25,7 @@ pub enum DefaultFunction {
LessThanByteString,
LessThanEqualsByteString,
// Cryptography and hash functions
#[strum(serialize = "sha2_256")]
Sha2_256,
Sha3_256,
Blake2b_256,