Pass context to NewKVStore (#8125)

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
terence tsao
2020-12-15 14:07:01 -08:00
committed by GitHub
parent 0449cd3450
commit dc27cd7a1e
11 changed files with 21 additions and 14 deletions

View File

@@ -21,7 +21,7 @@ func main() {
fmt.Printf("Reading db at %s and writing ssz output to %s.\n", os.Args[1], os.Args[2])
d, err := db.NewDB(os.Args[1], cache.NewStateSummaryCache())
d, err := db.NewDB(context.Background(), os.Args[1], cache.NewStateSummaryCache())
if err != nil {
panic(err)
}