No need to import the dnsstamps package twice

This commit is contained in:
Frank Denis 2020-06-11 11:13:41 +02:00
parent 4f47cd0f4f
commit 9cce77cc53
1 changed files with 1 additions and 2 deletions

View File

@ -16,7 +16,6 @@ import (
"github.com/jedisct1/dlog" "github.com/jedisct1/dlog"
"github.com/jedisct1/go-dnsstamps" "github.com/jedisct1/go-dnsstamps"
stamps "github.com/jedisct1/go-dnsstamps"
"github.com/jedisct1/go-minisign" "github.com/jedisct1/go-minisign"
) )
@ -283,7 +282,7 @@ func (source *Source) parseV2(prefix string) ([]RegisteredServer, error) {
var stamp dnsstamps.ServerStamp var stamp dnsstamps.ServerStamp
var err error var err error
for _, stampStr = range stampStrs { for _, stampStr = range stampStrs {
stamp, err = stamps.NewServerStampFromString(stampStr) stamp, err = dnsstamps.NewServerStampFromString(stampStr)
if err == nil { if err == nil {
break break
} }