add comment

Signed-off-by: Chen Kai <281165273grape@gmail.com>
This commit is contained in:
Chen Kai 2024-12-10 17:11:35 +08:00
parent 8a63d44af2
commit cc783f5e7a

View file

@ -149,6 +149,7 @@ func Parse(validSchemes enr.IdentityScheme, input string) (*Node, error) {
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) {
if strings.HasPrefix(input, "enode://") {
return ParseV4(input)