accounts/abi: Deduplicate code in unpacker

This commit is contained in:
Martin Holst Swende
2017-12-30 16:07:12 +01:00
parent 1ede68355d
commit f0f594d045
4 changed files with 33 additions and 53 deletions

View File

@@ -689,7 +689,7 @@ func TestABI_MethodById(t *testing.T) {
}
for name, m := range abi.Methods {
a := fmt.Sprintf("%v", m)
m2,err := abi.MethodById(m.Id())
m2, err := abi.MethodById(m.Id())
if err != nil {
t.Fatal(err)
}