Skip to content

Commit

Permalink
add nodepeer opts
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTylerHolmes committed Oct 21, 2023
1 parent c234237 commit d4db36a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mock/nodepeers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit d4db36a

Please sign in to comment.