p2p/dnsdisc: update to latest EIP-1459 spec (#20168)
This updates the DNS TXT record format to the latest changes in ethereum/EIPs#2313.
This commit is contained in:
committed by
Péter Szilágyi
parent
c476460cb2
commit
7300365956
@ -120,7 +120,7 @@ func (ct *clientTree) syncNextRandomENR(ctx context.Context) (*enode.Node, error
|
||||
}
|
||||
|
||||
func (ct *clientTree) String() string {
|
||||
return ct.loc.url()
|
||||
return ct.loc.String()
|
||||
}
|
||||
|
||||
// removeHash removes the element at index from h.
|
||||
@ -209,7 +209,7 @@ func (ts *subtreeSync) resolveNext(ctx context.Context, hash string) (entry, err
|
||||
if !ts.link {
|
||||
return nil, errLinkInENRTree
|
||||
}
|
||||
case *subtreeEntry:
|
||||
case *branchEntry:
|
||||
ts.missing = append(ts.missing, e.children...)
|
||||
}
|
||||
return e, nil
|
||||
|
Reference in New Issue
Block a user