mirror of
https://github.com/arnaucube/go-ethereum.git
synced 2026-02-28 14:06:45 +01:00
Close the file
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user