diff options
author | Daniel Martà <mvdan@mvdan.cc> | 2015-03-16 19:43:02 +0100 |
---|---|---|
committer | Daniel Martà <mvdan@mvdan.cc> | 2015-03-16 19:43:02 +0100 |
commit | 08647ec58034ecdc4ea60e7eb37c9e91fff784d6 (patch) | |
tree | 3e8cd30ef8e58d1bc729e47a2b1b2b9572901aa5 /common/ntor | |
parent | 714581df514c74199c47451a2bc3a51cb34ccabd (diff) |
Run go fmt
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) |