mirror of
https://github.com/status-im/op-geth.git
synced 2025-01-27 06:55:21 +00:00
Close the file
This commit is contained in:
parent
34f72ddb3d
commit
7d2353f24d
@ -124,6 +124,8 @@ func main() {
|
||||
clilogger.Infoln(err)
|
||||
return
|
||||
}
|
||||
defer fh.Close()
|
||||
|
||||
var chain types.Blocks
|
||||
if err := rlp.Decode(fh, &chain); err != nil {
|
||||
clilogger.Infoln(err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user