From d4db36ab2632e124ef9bd588f2467df2ac33afcc Mon Sep 17 00:00:00 2001 From: 0xTylerHolmes Date: Sat, 21 Oct 2023 13:38:28 -0500 Subject: [PATCH] add nodepeer opts --- mock/nodepeers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mock/nodepeers.go b/mock/nodepeers.go index ed82de54..fc473065 100644 --- a/mock/nodepeers.go +++ b/mock/nodepeers.go @@ -21,7 +21,7 @@ import ( ) // NodePeers provides the peers of the node. -func (s *Service) NodePeers(_ context.Context) (*api.Response[*apiv1.Peers], error) { +func (s *Service) NodePeers(_ context.Context, _ *api.PeerOpts) (*api.Response[*apiv1.Peers], error) { return &api.Response[*apiv1.Peers]{ Data: &apiv1.Peers{Peers: []apiv1.Peer{{ PeerID: "MOCK16Uiu2HAm7ukVy4XugqVShYbLih4H2jBJjYevevznBZaHsmd1FM96",