format improvements

This commit is contained in:
Jared Wasinger 2024-11-25 14:36:22 +07:00 committed by Felix Lange
parent 41b77f9d9c
commit 03a6ade16b
2 changed files with 0 additions and 2 deletions

View File

@ -50,7 +50,6 @@ func JSON(reader io.Reader) (ABI, error) {
var abi ABI
if err := dec.Decode(&abi); err != nil {
fmt.Println(err)
return ABI{}, err
}
return abi, nil

View File

@ -56,7 +56,6 @@ func linkContract(contract string, linkedLibs map[string]common.Address) (deploy
if err != nil {
return "", err
}
// link in any library the contract depends on
for _, match := range reMatchSpecificPattern.FindAllStringSubmatch(contract, -1) {
matchingPattern := match[1]