mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 09:37:38 +00:00
Fix integration after snapshot PR (#1901)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
This commit is contained in:
parent
565a4250d6
commit
4a214d38e4
@ -57,9 +57,6 @@ func openDatabase2(path string, applyMigrations bool, snapshotDir string, snapsh
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
metrics.AddCallback(db.RwKV().CollectMetrics)
|
metrics.AddCallback(db.RwKV().CollectMetrics)
|
||||||
if err := SetSnapshotKV(db, snapshotDir, snapshotMode); err != nil {
|
|
||||||
panic(err)
|
|
||||||
}
|
|
||||||
return db
|
return db
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user