Skip to content

Commit 15daddc

Browse files
committed
Fixed new sha1 api
1 parent aa5fb91 commit 15daddc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/script.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ impl Script {
3333
hash.update(code.as_bytes());
3434
Script {
3535
code: code.to_string(),
36-
hash: hash.hexdigest(),
36+
hash: hash.digest().to_string(),
3737
}
3838
}
3939

0 commit comments

Comments
 (0)