fix(lotus-sim): don't close node on list

This commit is contained in:
Steven Allen 2021-06-15 18:22:24 -07:00
parent 885062f712
commit af33d69357

View File

@ -28,7 +28,6 @@ var listSimCommand = &cli.Command{
}
head := sim.GetHead()
fmt.Fprintf(tw, "%s\t%s\t%s\n", name, head.Height(), head.Key())
sim.Close()
}
return tw.Flush()
},