Skip to content
This repository was archived by the owner on May 6, 2022. It is now read-only.

Commit 19e5b16

Browse files
author
Chris Doherty
committed
Correct example code
1 parent 6c046af commit 19e5b16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import "github.com/chrisdoherty4/merklehash/merkletree"
3131

3232
func main() {
3333
path := "/directory/to/hash"
34-
hash := merkletree.New(context.Background(), path, sha256.New)
34+
hash, _ := merkletree.New(context.Background(), path, sha256.New)
3535

3636
fmt.Printf("%x\n", hash)
3737
}

0 commit comments

Comments
 (0)