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
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
|
|
@ -83,7 +82,7 @@ func main() {
|
||||||
}
|
}
|
||||||
solc, err := compiler.InitSolc(*solcFlag)
|
solc, err := compiler.InitSolc(*solcFlag)
|
||||||
|
|
||||||
solReturn, err := solc.Compile(compiler.SolcFlagOpts{}, *solFlag)
|
solReturn, err := solc.Compile(compiler.FlagOpts{}, *solFlag)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Printf("Failed to build Solidity contract: %v\n", err)
|
fmt.Printf("Failed to build Solidity contract: %v\n", err)
|
||||||
os.Exit(-1)
|
os.Exit(-1)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue