File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -889,7 +889,7 @@ impl HasCryptoPrimitives for TestCryptoPrimitives {
889889 #[ cfg( feature = "crypto-primitives" ) ]
890890 {
891891 use sha2:: Digest ;
892- Hash256Sha2 ( sha2:: Sha256 :: digest ( data) . into ( ) )
892+ HashSha2256 ( sha2:: Sha256 :: digest ( data) . into ( ) )
893893 }
894894 #[ cfg( not( feature = "crypto-primitives" ) ) ]
895895 {
@@ -905,7 +905,7 @@ impl HasCryptoPrimitives for TestCryptoPrimitives {
905905 #[ cfg( feature = "crypto-primitives" ) ]
906906 {
907907 use sha3:: Digest ;
908- Hash256Sha3 ( sha3:: Sha3_256 :: digest ( data) . into ( ) )
908+ HashSha3256 ( sha3:: Sha3_256 :: digest ( data) . into ( ) )
909909 }
910910 #[ cfg( not( feature = "crypto-primitives" ) ) ]
911911 {
@@ -921,7 +921,7 @@ impl HasCryptoPrimitives for TestCryptoPrimitives {
921921 #[ cfg( feature = "crypto-primitives" ) ]
922922 {
923923 use sha3:: Digest ;
924- Hash256Keccak ( sha3:: Keccak256 :: digest ( data) . into ( ) )
924+ HashKeccak256 ( sha3:: Keccak256 :: digest ( data) . into ( ) )
925925 }
926926 #[ cfg( not( feature = "crypto-primitives" ) ) ]
927927 {
You can’t perform that action at this time.
0 commit comments