diff --git a/dot/network/notifications.go b/dot/network/notifications.go index 236caac66c..b1b0479f92 100644 --- a/dot/network/notifications.go +++ b/dot/network/notifications.go @@ -42,7 +42,8 @@ type ( // NotificationsMessageHandler is called when a (non-handshake) message is received over a notifications stream. NotificationsMessageHandler = func(peer peer.ID, msg NotificationsMessage) (propagate bool, err error) - // NotificationsMessageBatchHandler is called when a (non-handshake) message is received over a notifications stream in batch processing mode. + // NotificationsMessageBatchHandler is called when a (non-handshake) message is received over a notifications + // stream in batch processing mode. NotificationsMessageBatchHandler = func(peer peer.ID, msg NotificationsMessage) )