2025-01-17 10:14:54 +01:00

14 lines
218 B
Go

package types
import (
"fmt"
)
// EnodeID is a unique identifier for each node.
type EnodeID [32]byte
// ID prints as a long hexadecimal number.
func (n EnodeID) String() string {
return fmt.Sprintf("%x", n[:])
}