swarm/*: remove redundant type specifiers (#19089)

This commit is contained in:
Matthew Halpern
2019-02-24 23:58:18 -08:00
committed by Viktor Trón
parent 4e87b444ca
commit 81babe1509
4 changed files with 4 additions and 4 deletions

View File

@@ -75,7 +75,7 @@ const (
// subscriptionFunc is used to determine what to do in order to perform subscriptions
// usually we would start to really subscribe to nodes, but for tests other functionality may be needed
// (see TestRequestPeerSubscriptions in streamer_test.go)
var subscriptionFunc func(r *Registry, p *network.Peer, bin uint8, subs map[enode.ID]map[Stream]struct{}) bool = doRequestSubscription
var subscriptionFunc = doRequestSubscription
// Registry registry for outgoing and incoming streamer constructors
type Registry struct {