mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-13 15:33:47 +00:00
add comment
Signed-off-by: Chen Kai <281165273grape@gmail.com>
This commit is contained in:
parent
8a63d44af2
commit
cc783f5e7a
1 changed files with 1 additions and 0 deletions
|
|
@ -149,6 +149,7 @@ func Parse(validSchemes enr.IdentityScheme, input string) (*Node, error) {
|
||||||
return New(validSchemes, &r)
|
return New(validSchemes, &r)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Portal network not filter multicast address, any other way to support this?
|
||||||
func ParseForAddEnr(validSchemes enr.IdentityScheme, input string) (*Node, error) {
|
func ParseForAddEnr(validSchemes enr.IdentityScheme, input string) (*Node, error) {
|
||||||
if strings.HasPrefix(input, "enode://") {
|
if strings.HasPrefix(input, "enode://") {
|
||||||
return ParseV4(input)
|
return ParseV4(input)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue