From a73ca143df25cbe6b8f57563020d892ffefd1866 Mon Sep 17 00:00:00 2001 From: rjl493456442 Date: Thu, 25 Jul 2019 18:14:20 +0800 Subject: [PATCH] accounts/abi: fix comment --- accounts/abi/event.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accounts/abi/event.go b/accounts/abi/event.go index 40d112238b..f1474813af 100644 --- a/accounts/abi/event.go +++ b/accounts/abi/event.go @@ -35,7 +35,7 @@ type Event struct { // There are two events have same name: // * foo(int,int) // * foo(uint,uint) - // The method name of the first one wll be resolved as foo while the second one + // The event name of the first one wll be resolved as foo while the second one // will be resolved as foo0. Name string // RawName is the raw event name parsed from ABI. @@ -55,7 +55,7 @@ func (e Event) String() string { return fmt.Sprintf("event %v(%v)", e.RawName, strings.Join(inputs, ", ")) } -// Sig returns the methods string signature according to the ABI spec. +// Sig returns the event string signature according to the ABI spec. // // Example //