summaryrefslogtreecommitdiff
path: root/catchup/peerSelector_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'catchup/peerSelector_test.go')
-rw-r--r--catchup/peerSelector_test.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/catchup/peerSelector_test.go b/catchup/peerSelector_test.go
index 02d759b20..a11e7db1e 100644
--- a/catchup/peerSelector_test.go
+++ b/catchup/peerSelector_test.go
@@ -50,7 +50,7 @@ type mockUnicastPeer struct {
func (d *mockUnicastPeer) GetAddress() string {
return d.address
}
-func (d *mockUnicastPeer) Unicast(ctx context.Context, msg []byte, tag protocol.Tag, callback network.UnicastWebsocketMessageStateCallback) error {
+func (d *mockUnicastPeer) Unicast(ctx context.Context, data []byte, tag protocol.Tag) error {
return nil
}
func (d *mockUnicastPeer) Version() string {
@@ -62,9 +62,6 @@ func (d *mockUnicastPeer) Request(ctx context.Context, tag network.Tag, topics n
func (d *mockUnicastPeer) Respond(ctx context.Context, reqMsg network.IncomingMessage, topics network.Topics) (e error) {
return nil
}
-func (d *mockUnicastPeer) IsOutgoing() bool {
- return false
-}
// GetConnectionLatency returns the connection latency between the local node and this peer.
func (d *mockUnicastPeer) GetConnectionLatency() time.Duration {