Commit 00bb09a2 authored by Petar Maymounkov's avatar Petar Maymounkov

comment

parent 5075c4b0
......@@ -11,7 +11,7 @@ import (
kbucket "github.com/libp2p/go-libp2p-kbucket"
)
// XXX: update uses
// TODO: Find a way to prohibit casting bytes to Key.
func KbucketIDToKey(id kbucket.ID) Key {
return Key(reverseBytesBits(id))
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment