mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 20:26:41 +00:00
nil Waitgroup argument added to chunker.Split in bzzhash.go
This commit is contained in:
parent
c29c1fd2b3
commit
963eb98937
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ func main() {
|
||||||
chunker := &bzz.TreeChunker{}
|
chunker := &bzz.TreeChunker{}
|
||||||
chunker.Init()
|
chunker.Init()
|
||||||
hash := make([]byte, chunker.KeySize())
|
hash := make([]byte, chunker.KeySize())
|
||||||
errC := chunker.Split(hash, sr, nil)
|
errC := chunker.Split(hash, sr, nil, nil)
|
||||||
err, ok := <-errC
|
err, ok := <-errC
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "%v\n", err)
|
fmt.Fprintf(os.Stderr, "%v\n", err)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue