Commit 227113df authored by Gari Singh's avatar Gari Singh Committed by Gerrit Code Review
Browse files

Merge "[FAB-11050] Add OutputAnchorPeersUpdate command"

parents 299e286c 388f541d
......@@ -45,3 +45,25 @@ func (c CreateChannelTx) Args() []string {
"-outputCreateChannelTx", c.OutputCreateChannelTx,
}
}
type OutputAnchorPeersUpdate struct {
ChannelID string
Profile string
ConfigPath string
AsOrg string
OutputAnchorPeersUpdate string
}
func (o OutputAnchorPeersUpdate) SessionName() string {
return "configtxgen-output-anchor-peers-update"
}
func (o OutputAnchorPeersUpdate) Args() []string {
return []string{
"-channelID", o.ChannelID,
"-profile", o.Profile,
"-configPath", o.ConfigPath,
"-asOrg", o.AsOrg,
"-outputAnchorPeersUpdate", o.OutputAnchorPeersUpdate,
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment