Skip to content

Commit

Permalink
fix: Remove repeated code
Browse files Browse the repository at this point in the history
  • Loading branch information
khalifaa55 authored Sep 10, 2024
1 parent 421c244 commit 2a2745c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cli/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,13 +288,6 @@ func runGenCmd(out io.Writer, flags *GenCmdFlags, sedgeAction actions.SedgeActio
flags.relayURLs, _ = opts.RelayURLs(network)
}

// Overwrite feeRecipient and relayURLs for Lido Node
if lidoNode {
opts := sedgeOpts.CreateSedgeOptions(sedgeOpts.LidoNode)
flags.feeRecipient = opts.FeeRecipient(network)
flags.relayURLs, _ = opts.RelayURLs(network)
}

// Warning if no fee recipient is set
if flags.feeRecipient == "" {
log.Warn(configs.EmptyFeeRecipientError)
Expand Down

0 comments on commit 2a2745c

Please sign in to comment.