mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Fix rebase issue
This commit is contained in:
parent
31e7dccfbd
commit
1ee8697904
1 changed files with 1 additions and 0 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in a new issue