diff options
Diffstat (limited to 'mobile/p2p.go')
-rw-r--r-- | mobile/p2p.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile/p2p.go b/mobile/p2p.go index 97ae626dc..e717d4004 100644 --- a/mobile/p2p.go +++ b/mobile/p2p.go @@ -66,7 +66,7 @@ func (pi *PeerInfos) Size() int { } // Get returns the peer info at the given index from the slice. -func (pi *PeerInfos) Get(index int) (*PeerInfo, error) { +func (pi *PeerInfos) Get(index int) (info *PeerInfo, _ error) { if index < 0 || index >= len(pi.infos) { return nil, errors.New("index out of bounds") } |