Commit 7d2353f2 authored by obscuren's avatar obscuren

Close the file

parent 34f72ddb
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment