event string was incorect

This commit is contained in:
Alex T 2018-10-24 09:35:14 +03:00
parent 080deb0c93
commit 1e72a3008c

View file

@ -41,7 +41,7 @@ func (e Event) String() string {
inputs[i] = fmt.Sprintf("%v indexed %v", input.Name, input.Type) inputs[i] = fmt.Sprintf("%v indexed %v", input.Name, input.Type)
} }
} }
return fmt.Sprintf("e %v(%v)", e.Name, strings.Join(inputs, ", ")) return fmt.Sprintf("event %v(%v)", e.Name, strings.Join(inputs, ", "))
} }
// Id returns the canonical representation of the event's signature used by the // Id returns the canonical representation of the event's signature used by the