mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-28 14:47:16 +00:00
e3: nil writer fix (#687)
This commit is contained in:
parent
5f9bd992a1
commit
37cdd12e5b
@ -422,6 +422,9 @@ func (h *History) Flush() error {
|
||||
if err := h.InvertedIndex.Flush(); err != nil {
|
||||
return err
|
||||
}
|
||||
if h.w == nil {
|
||||
return nil
|
||||
}
|
||||
if err := h.w.flush(h.tx); err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user