mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 19:30:44 +00:00
Merge branch 'bzz' of github.com:ethersphere/go-ethereum into bzz
This commit is contained in:
commit
aab16c49bb
1 changed files with 1 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue