diff --git a/accounts/abi/method.go b/accounts/abi/method.go index 5831057652..07b124a4df 100644 --- a/accounts/abi/method.go +++ b/accounts/abi/method.go @@ -56,7 +56,7 @@ func (method Method) Sig() string { func (method Method) String() string { inputs := make([]string, len(method.Inputs)) for i, input := range method.Inputs { - inputs[i] = fmt.Sprintf("%v %v", input.Name, input.Type) + inputs[i] = fmt.Sprintf("%v %v", input.Type, input.Name) } outputs := make([]string, len(method.Outputs)) for i, output := range method.Outputs {