nil Waitgroup argument added to chunker.Split in bzzhash.go

This commit is contained in:
Daniel A. Nagy 2015-02-24 13:43:13 +01:00
parent c29c1fd2b3
commit 963eb98937

View file

@ -27,7 +27,7 @@ func main() {
chunker := &bzz.TreeChunker{}
chunker.Init()
hash := make([]byte, chunker.KeySize())
errC := chunker.Split(hash, sr, nil)
errC := chunker.Split(hash, sr, nil, nil)
err, ok := <-errC
if err != nil {
fmt.Fprintf(os.Stderr, "%v\n", err)