mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
Update cmd/abigen/main.go
This commit is contained in:
parent
79e091c61f
commit
a835a03f2c
1 changed files with 0 additions and 4 deletions
|
|
@ -101,10 +101,6 @@ func abigen(c *cli.Context) error {
|
|||
if c.String(abiFlag.Name) == "" && c.String(jsonFlag.Name) == "" {
|
||||
utils.Fatalf("Either contract ABI source (--abi) or combined-json (--combined-json) are required")
|
||||
}
|
||||
|
||||
if c.String(abiFlag.Name) != "" && c.String(jsonFlag.Name) != "" {
|
||||
utils.Fatalf("contract ABI source (--abi) and combined-json (--combined-json) are mutually-exclusive")
|
||||
}
|
||||
var lang bind.Lang
|
||||
switch c.String(langFlag.Name) {
|
||||
case "go":
|
||||
|
|
|
|||
Loading…
Reference in a new issue