mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
abigen: fix compilation issue
Signed-off-by: RJ Catalano <rj@monax.io>
This commit is contained in:
parent
d3baeb21ae
commit
2dec80b1ad
1 changed files with 1 additions and 2 deletions
|
|
@ -17,7 +17,6 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"flag"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
|
|
@ -83,7 +82,7 @@ func main() {
|
|||
}
|
||||
solc, err := compiler.InitSolc(*solcFlag)
|
||||
|
||||
solReturn, err := solc.Compile(compiler.SolcFlagOpts{}, *solFlag)
|
||||
solReturn, err := solc.Compile(compiler.FlagOpts{}, *solFlag)
|
||||
if err != nil {
|
||||
fmt.Printf("Failed to build Solidity contract: %v\n", err)
|
||||
os.Exit(-1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue