No need to import the dnsstamps package twice
This commit is contained in:
parent
4f47cd0f4f
commit
9cce77cc53
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue