From 9cce77cc53f4be191d25853d672b2e9197cd0e88 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 11 Jun 2020 11:13:41 +0200 Subject: [PATCH] No need to import the dnsstamps package twice --- dnscrypt-proxy/sources.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dnscrypt-proxy/sources.go b/dnscrypt-proxy/sources.go index 0e28e274..1cde6471 100644 --- a/dnscrypt-proxy/sources.go +++ b/dnscrypt-proxy/sources.go @@ -16,7 +16,6 @@ import ( "github.com/jedisct1/dlog" "github.com/jedisct1/go-dnsstamps" - stamps "github.com/jedisct1/go-dnsstamps" "github.com/jedisct1/go-minisign" ) @@ -283,7 +282,7 @@ func (source *Source) parseV2(prefix string) ([]RegisteredServer, error) { var stamp dnsstamps.ServerStamp var err error for _, stampStr = range stampStrs { - stamp, err = stamps.NewServerStampFromString(stampStr) + stamp, err = dnsstamps.NewServerStampFromString(stampStr) if err == nil { break }