Close the file

pull/229/merge
obscuren 10 years ago
parent 34f72ddb3d
commit 7d2353f24d
  1. 2
      cmd/ethereum/main.go

@ -124,6 +124,8 @@ func main() {
clilogger.Infoln(err) clilogger.Infoln(err)
return return
} }
defer fh.Close()
var chain types.Blocks var chain types.Blocks
if err := rlp.Decode(fh, &chain); err != nil { if err := rlp.Decode(fh, &chain); err != nil {
clilogger.Infoln(err) clilogger.Infoln(err)

Loading…
Cancel
Save