mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 13:21:37 +00:00
Merge 8837035b57 into 7c9032dff6
This commit is contained in:
commit
ee594e8fd2
1 changed files with 1 additions and 1 deletions
|
|
@ -420,7 +420,7 @@ func importChain(ctx *cli.Context) error {
|
||||||
fmt.Printf("GC pause: %v\n\n", time.Duration(mem.PauseTotalNs))
|
fmt.Printf("GC pause: %v\n\n", time.Duration(mem.PauseTotalNs))
|
||||||
|
|
||||||
if ctx.Bool(utils.NoCompactionFlag.Name) {
|
if ctx.Bool(utils.NoCompactionFlag.Name) {
|
||||||
return nil
|
return importErr
|
||||||
}
|
}
|
||||||
|
|
||||||
// Compact the entire database to more accurately measure disk io and print the stats
|
// Compact the entire database to more accurately measure disk io and print the stats
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue