Merge branch 'bzz' of github.com:ethersphere/go-ethereum into bzz

This commit is contained in:
zelig 2015-02-03 15:38:22 +01:00
commit aab16c49bb

View file

@ -24,9 +24,7 @@ func main() {
stat, _ := f.Stat()
sr := io.NewSectionReader(f, 0, stat.Size())
chunker := &bzz.TreeChunker{
Branches: 128,
}
chunker := &bzz.TreeChunker{}
chunker.Init()
hash := make([]byte, chunker.HashSize())
errC := chunker.Split(hash, sr, nil)