From 2c383df50951e603a4bd596a0a1fd8806c5afaea Mon Sep 17 00:00:00 2001 From: Bryan White Date: Tue, 11 Jul 2023 09:29:12 +0200 Subject: [PATCH] revert: broadcast flag --- app/client/cli/peer/peer.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/client/cli/peer/peer.go b/app/client/cli/peer/peer.go index 1d9ddb2c82..7e560e2fab 100644 --- a/app/client/cli/peer/peer.go +++ b/app/client/cli/peer/peer.go @@ -12,6 +12,9 @@ var ( unstakedFlag, localFlag bool + // TODO_THIS_COMMIT: remove + broadcastFlag bool + PeerCmd = &cobra.Command{ Use: "peer", Short: "Manage peers", @@ -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") }