Skip to content

Commit 1e9f6a8

Browse files
committed
Fix lint
1 parent d4033a4 commit 1e9f6a8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

rocketpool-cli/node/sync.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,18 +70,18 @@ func getSyncProgress() error {
7070
color.YellowPrintln("To run this safety check, try again later when the execution client has made more sync progress.")
7171
fmt.Println()
7272
return nil
73-
} else if depositContractInfo.RPNetwork != depositContractInfo.BeaconNetwork ||
73+
}
74+
if depositContractInfo.RPNetwork != depositContractInfo.BeaconNetwork ||
7475
depositContractInfo.RPDepositContract != depositContractInfo.BeaconDepositContract {
7576
cliutils.PrintDepositMismatchError(
7677
depositContractInfo.RPNetwork,
7778
depositContractInfo.BeaconNetwork,
7879
depositContractInfo.RPDepositContract,
7980
depositContractInfo.BeaconDepositContract)
8081
return nil
81-
} else {
82-
fmt.Println("Your consensus client is on the correct network.")
83-
fmt.Println()
8482
}
83+
fmt.Println("Your consensus client is on the correct network.")
84+
fmt.Println()
8585

8686
// Get node status
8787
status, err := rp.NodeSync()

0 commit comments

Comments
 (0)