fix: address maintainer review for #166

This commit is contained in:
n30nex
2026-09-30 07:33:45 -04:00
committed by MrAlders0n
parent 3b806c1c39
commit 97cc22a5a0
@@ -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))