mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
fixing typos
This commit is contained in:
parent
a72a46aab5
commit
9eff6b80bb
1 changed files with 2 additions and 2 deletions
|
|
@ -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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue