Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rocketpool-cli/node/deploy-megapool.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func deployMegapool(c *cli.Context) error {
fmt.Println("This command is only available after the Saturn upgrade.")
return nil
}

if !canDeploy.CanDeploy {
if canDeploy.AlreadyDeployed {
fmt.Println("The node already has a Megapool deployed.")
Expand Down
1 change: 1 addition & 0 deletions rocketpool/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ func RegisterCommands(app *cli.App, name string, aliases []string) {
auction.RegisterSubcommands(&command, "auction", []string{"a"})
megapool.RegisterSubcommands(&command, "megapool", []string{"g"})
minipool.RegisterSubcommands(&command, "minipool", []string{"m"})
megapool.RegisterSubcommands(&command, "megapool", []string{"g"})
network.RegisterSubcommands(&command, "network", []string{"e"})
node.RegisterSubcommands(&command, "node", []string{"n"})
odao.RegisterSubcommands(&command, "odao", []string{"o"})
Expand Down
2 changes: 1 addition & 1 deletion rocketpool/api/node/deposit.go
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ func nodeDeposit(c *cli.Context, amountWei *big.Int, minNodeFee float64, salt *b
"The following validator pubkey is already in use on the Beacon chain:\n\t%s\n"+
"Rocket Pool will not allow you to deposit this validator for your own safety so you do not get slashed.\n"+
"PLEASE REPORT THIS TO THE ROCKET POOL DEVELOPERS.\n"+
"***************\n", pubKey.Hex(), status.Index)
"***************\n", pubKey.Hex())
}

// Do a final sanity check
Expand Down
7 changes: 3 additions & 4 deletions shared/types/api/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ type GetLatestDelegateResponse struct {
}

type IsSaturnDeployedResponse struct {
Status string `json:"status"`
Error string `json:"error"`
IsSaturnDeployed bool `json:"isSaturnDeployed"`
Status string `json:"status"`
Error string `json:"error"`
IsSaturnDeployed bool `json:"isSaturnDeployed"`
}

Loading