status-go/peers/signal.go

12 lines
252 B
Go

package peers
import (
"github.com/ethereum/go-ethereum/p2p"
"github.com/status-im/status-go/signal"
)
// SendDiscoverySummary sends discovery.summary signal.
func SendDiscoverySummary(peers []*p2p.PeerInfo) {
signal.SendDiscoverySummary(peers)
}