mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-26 09:54:19 +00:00
Blockpool better timeouts, download rate observation, quicker switching to consensus; Id -> ID (sorry, this doesn't belong here)
This commit is contained in:
@@ -40,11 +40,11 @@ func TestLog4(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Errorf("Failed to start eventSwitch: %v", err)
|
||||
}
|
||||
eventId := types.EventStringLogEvent(account2.Address.Postfix(20))
|
||||
eventID := types.EventStringLogEvent(account2.Address.Postfix(20))
|
||||
|
||||
doneChan := make(chan struct{}, 1)
|
||||
|
||||
eventSwitch.AddListenerForEvent("test", eventId, func(event types.EventData) {
|
||||
eventSwitch.AddListenerForEvent("test", eventID, func(event types.EventData) {
|
||||
logEvent := event.(types.EventDataLog)
|
||||
// No need to test address as this event would not happen if it wasn't correct
|
||||
if !reflect.DeepEqual(logEvent.Topics, expectedTopics) {
|
||||
|
||||
Reference in New Issue
Block a user