forked from cerc-io/ipld-eth-server
Merge pull request #63 from chapsuk/duplicate_gouroutines
Removed useless goroutines from sync cmd
This commit is contained in:
commit
b2cf8d55d8
@ -49,9 +49,7 @@ func init() {
|
||||
}
|
||||
|
||||
func backFillAllBlocks(blockchain core.Blockchain, blockRepository datastore.BlockRepository, missingBlocksPopulated chan int, startingBlockNumber int64) {
|
||||
go func() {
|
||||
missingBlocksPopulated <- history.PopulateMissingBlocks(blockchain, blockRepository, startingBlockNumber)
|
||||
}()
|
||||
}
|
||||
|
||||
func sync() {
|
||||
|
Loading…
Reference in New Issue
Block a user