diff options
Diffstat (limited to 'common/ntor')
-rw-r--r-- | common/ntor/ntor.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/ntor/ntor.go b/common/ntor/ntor.go index f17e464..4f6ab27 100644 --- a/common/ntor/ntor.go +++ b/common/ntor/ntor.go @@ -146,6 +146,7 @@ func NodeIDFromHex(encoded string) (*NodeID, error) { return NewNodeID(raw) } + // Bytes returns a pointer to the raw NodeID. func (id *NodeID) Bytes() *[NodeIDLength]byte { return (*[NodeIDLength]byte)(id) |