From 9eff6b80bbef78bf7924d1a676ca3f0efeea0df3 Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 1 Apr 2019 09:59:12 +0200 Subject: [PATCH] fixing typos --- accounts/abi/abi_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accounts/abi/abi_test.go b/accounts/abi/abi_test.go index c7688940fb..cbd7940380 100644 --- a/accounts/abi/abi_test.go +++ b/accounts/abi/abi_test.go @@ -772,8 +772,8 @@ func TestABI_EventById(t *testing.T) { t.Errorf("topic %v (id %v) not 'findable' by id in ABI", topic, topicID) } - UnknowntopicID := crypto.Keccak256Hash([]byte("unkownEvent")) - if _, err := abi.EventById(UnknowntopicID); err == nil { + unknowntopicID := crypto.Keccak256Hash([]byte("unknownEvent")) + if _, err := abi.EventById(unknowntopicID); err == nil { t.Errorf("Expected error, no matching event id") } }