fix(lotus-sim): don't close node on list
This commit is contained in:
parent
885062f712
commit
af33d69357
@ -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()
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user