Skip to content

Commit 95a57a9

Browse files
author
Hui Kang
committed
[FAB-12599] Remove unused variable in peer code
orderingEndpoint is used nowhere in the code Change-Id: I56db43d3e76e2ccb5d03895045f7c1f90fcac7d5 Signed-off-by: Hui Kang <kangh@us.ibm.com>
1 parent e8aae07 commit 95a57a9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

peer/node/start.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,12 @@ const (
8989
)
9090

9191
var chaincodeDevMode bool
92-
var orderingEndpoint string
9392

9493
func startCmd() *cobra.Command {
9594
// Set the flags on the node start command.
9695
flags := nodeStartCmd.Flags()
9796
flags.BoolVarP(&chaincodeDevMode, "peer-chaincodedev", "", false,
9897
"Whether peer in chaincode development mode")
99-
flags.StringVarP(&orderingEndpoint, "orderer", "o", "orderer:7050", "Ordering service endpoint")
10098

10199
return nodeStartCmd
102100
}

0 commit comments

Comments
 (0)