From 1ee8697904450829074f6e1756563b10e0d40b70 Mon Sep 17 00:00:00 2001 From: Guillaume Ballet Date: Wed, 3 Jul 2019 18:02:08 +0200 Subject: [PATCH] Fix rebase issue --- accounts/abi/bind/template.go | 1 + 1 file changed, 1 insertion(+) diff --git a/accounts/abi/bind/template.go b/accounts/abi/bind/template.go index 8d142dd452..70f3f9c9f5 100644 --- a/accounts/abi/bind/template.go +++ b/accounts/abi/bind/template.go @@ -538,6 +538,7 @@ public class {{.Type}} { {{capitalise $name}} {{decapitalise $name}}Inst = {{capitalise $name}}.deploy(auth, client); bytecode.replace("__${{$pattern}}$__", {{decapitalise $name}}Inst.Address); {{end}} + {{end}} {{range $index, $element := .Constructor.Inputs}}Interface arg{{$index}} = Geth.newInterface();arg{{$index}}.set{{namedtype (bindtype .Type $structs) .Type}}({{.Name}});args.set({{$index}},arg{{$index}}); {{end}} return new {{.Type}}(Geth.deployContract(auth, ABI, Geth.decodeFromHex(bytecode), client, args));