Skip to content

Commit

Permalink
Make --address not required when using --calldata
Browse files Browse the repository at this point in the history
  • Loading branch information
ezynda3 committed Apr 18, 2024
1 parent 12fa76b commit 69a8170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/diamondCut.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func init() {
diamondCutCmd.MarkFlagsOneRequired("private-key", "calldata")
diamondCutCmd.MarkFlagsMutuallyExclusive("private-key", "calldata")
diamondCutCmd.MarkFlagsMutuallyExclusive("network", "rpc-url")
diamondCutCmd.MarkFlagRequired("address")
diamondCutCmd.MarkFlagsOneRequired("address", "calldata")
}

// parseDiamondCut
Expand Down

0 comments on commit 69a8170

Please sign in to comment.