We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2f2806 commit 222249eCopy full SHA for 222249e
cmd/geth/main.go
@@ -533,9 +533,9 @@ func importchain(ctx *cli.Context) {
533
}
534
535
// force database flush
536
- ethereum.BlockDb().Close()
537
- ethereum.StateDb().Close()
538
- ethereum.ExtraDb().Close()
+ ethereum.BlockDb().Flush()
+ ethereum.StateDb().Flush()
+ ethereum.ExtraDb().Flush()
539
540
fmt.Printf("Import done in %v", time.Since(start))
541
@@ -630,9 +630,9 @@ func upgradeDb(ctx *cli.Context) {
630
631
632
633
634
635
636
637
os.Remove(exportFile)
638
0 commit comments