mirror of
https://github.com/MeshCore-Beacon/beacon-server.git
synced 2026-10-16 13:49:56 +00:00
fix: address maintainer review for #166
This commit is contained in:
@@ -19,10 +19,6 @@ type endpointRoutingDB struct {
|
||||
paths []string
|
||||
}
|
||||
|
||||
func (s *endpointRoutingDB) InsertObservation(context.Context, InsertObservationParams) (bool, error) {
|
||||
return true, nil
|
||||
}
|
||||
|
||||
func (s *endpointRoutingDB) ResolveEndpointHashes(_ context.Context, iata string, hashes [][]byte) (map[string][]api.ResolvedPathEntry, error) {
|
||||
for _, hash := range hashes {
|
||||
s.endpoints = append(s.endpoints, iata+":"+hex.EncodeToString(hash))
|
||||
|
||||
Reference in New Issue
Block a user