From 1e72a3008cc0e36341bf6b95b2466c3d79356d43 Mon Sep 17 00:00:00 2001 From: Alex T Date: Wed, 24 Oct 2018 09:35:14 +0300 Subject: [PATCH] event string was incorect --- accounts/abi/event.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounts/abi/event.go b/accounts/abi/event.go index a3f6be9732..f5f97e47b7 100644 --- a/accounts/abi/event.go +++ b/accounts/abi/event.go @@ -41,7 +41,7 @@ func (e Event) String() string { 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