Skip to content

Commit

Permalink
revert: broadcast flag
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanchriswhite committed Jul 12, 2023
1 parent 7c8ea05 commit 55ed0b2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/client/cli/peer/peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ var (
unstakedFlag,
localFlag bool

// TODO_THIS_COMMIT: remove
broadcastFlag bool

PeerCmd = &cobra.Command{
Use: "peer",
Short: "Manage peers",
Expand All @@ -24,4 +27,7 @@ func init() {
PeerCmd.PersistentFlags().BoolVarP(&stakedFlag, "staked", "s", false, "operations only apply to staked router peerstore (i.e. raintree)")
PeerCmd.PersistentFlags().BoolVarP(&unstakedFlag, "unstaked", "u", false, "operations only apply to unstaked router peerstore (i.e. gossipsub)")
PeerCmd.PersistentFlags().BoolVarP(&localFlag, "local", "l", false, "operations apply to the local (CLI binary's) P2P module rather than being sent to the --remote_cli_url")

// TODO_THIS_COMMIT: remove
PeerCmd.PersistentFlags().BoolVarP(&broadcastFlag, "broadcast", "b", false, "use unstaked router broadcast - TODO: remove this flag")
}

0 comments on commit 55ed0b2

Please sign in to comment.