Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulio2002 committed Nov 17, 2024
1 parent 4d3e6d1 commit 4e818ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cl/phase1/forkchoice/fork_graph/fork_graph_disk_fs.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ func (f *forkGraphDisk) DumpBeaconStateOnDisk(blockRoot libcommon.Hash, bs *stat
}
defer cacheFile.Close()
defer f.stateDumpLock.Unlock()

if _, err = cacheFile.Write(b.Bytes()); err != nil {
log.Error("failed to write cache file", "err", err)
return
Expand Down

0 comments on commit 4e818ec

Please sign in to comment.