fix: strum serialize for sha2 function
This commit is contained in:
parent
e0e98f92e4
commit
6d5057dff4
|
@ -1,3 +1,3 @@
|
||||||
(program 1.0.0
|
(program 1.0.0
|
||||||
[[(builtin addInteger) (con integer 4)] (con integer 8)]
|
[(builtin sha2_256) (con bytestring #54686543616B654973414C6965)]
|
||||||
)
|
)
|
|
@ -25,6 +25,7 @@ pub enum DefaultFunction {
|
||||||
LessThanByteString,
|
LessThanByteString,
|
||||||
LessThanEqualsByteString,
|
LessThanEqualsByteString,
|
||||||
// Cryptography and hash functions
|
// Cryptography and hash functions
|
||||||
|
#[strum(serialize = "sha2_256")]
|
||||||
Sha2_256,
|
Sha2_256,
|
||||||
Sha3_256,
|
Sha3_256,
|
||||||
Blake2b_256,
|
Blake2b_256,
|
||||||
|
|
Loading…
Reference in New Issue