mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
fix channel init
This commit is contained in:
parent
2fdc0da8b8
commit
e7ed73f0fe
1 changed files with 1 additions and 1 deletions
|
|
@ -401,7 +401,7 @@ func ExportSnapshotPreimages(chain *core.BlockChain, fn string, root common.Hash
|
|||
Hash common.Hash
|
||||
Size int
|
||||
}
|
||||
var hashCh chan hashAndPreimageSize
|
||||
hashCh := make(chan hashAndPreimageSize)
|
||||
|
||||
go func() {
|
||||
defer close(hashCh)
|
||||
|
|
|
|||
Loading…
Reference in a new issue