fixing typos

This commit is contained in:
Unknown 2019-04-01 09:59:12 +02:00
parent a72a46aab5
commit 9eff6b80bb

View file

@ -772,8 +772,8 @@ func TestABI_EventById(t *testing.T) {
t.Errorf("topic %v (id %v) not 'findable' by id in ABI", topic, topicID) t.Errorf("topic %v (id %v) not 'findable' by id in ABI", topic, topicID)
} }
UnknowntopicID := crypto.Keccak256Hash([]byte("unkownEvent")) unknowntopicID := crypto.Keccak256Hash([]byte("unknownEvent"))
if _, err := abi.EventById(UnknowntopicID); err == nil { if _, err := abi.EventById(unknowntopicID); err == nil {
t.Errorf("Expected error, no matching event id") t.Errorf("Expected error, no matching event id")
} }
} }