mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-15 19:56:11 +00:00
add block store options to block store constructor
This commit is contained in:
@@ -46,7 +46,7 @@ func main() {
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
s := store.NewBlockStore(db)
|
||||
s := store.NewBlockStore(db, store.BlockStoreOptions{})
|
||||
defer s.Close()
|
||||
rs, err := report.GenerateFromBlockStore(s)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user