Skip to content

Commit 67b432f

Browse files
revert: broadcast flag
1 parent c0f6c1a commit 67b432f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/client/cli/peer/peer.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ var (
1212
unstakedFlag,
1313
localFlag bool
1414

15+
// TODO_THIS_COMMIT: remove
16+
broadcastFlag bool
17+
1518
PeerCmd = &cobra.Command{
1619
Use: "peer",
1720
Short: "Manage peers",
@@ -24,4 +27,7 @@ func init() {
2427
PeerCmd.PersistentFlags().BoolVarP(&stakedFlag, "staked", "s", false, "operations only apply to staked router peerstore (i.e. raintree)")
2528
PeerCmd.PersistentFlags().BoolVarP(&unstakedFlag, "unstaked", "u", false, "operations only apply to unstaked router peerstore (i.e. gossipsub)")
2629
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")
30+
31+
// TODO_THIS_COMMIT: remove
32+
PeerCmd.PersistentFlags().BoolVarP(&broadcastFlag, "broadcast", "b", false, "use unstaked router broadcast - TODO: remove this flag")
2733
}

0 commit comments

Comments
 (0)