Skip to content

Commit

Permalink
Don't list prelaunch minipools as closable
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfornax committed Apr 16, 2024
1 parent e1c7eba commit 4414671
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rocketpool-cli/minipool/close.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ func closeMinipools(c *cli.Context) error {
// Ignore minipools that are already closed
continue
}
if mp.MinipoolStatus == types.Prelaunch {
// Ignore minipools that are currently in prelaunch
continue
}
if mp.CanClose {
closableMinipools = append(closableMinipools, mp)
} else {
Expand Down

0 comments on commit 4414671

Please sign in to comment.