Commit 21dbbe42 authored by Janos Guljas's avatar Janos Guljas

add swarm.NewAddress comment

parent bf51fdb5
...@@ -16,6 +16,7 @@ type Address struct { ...@@ -16,6 +16,7 @@ type Address struct {
b []byte b []byte
} }
// NewAddress constructs Address from a byte slice.
func NewAddress(b []byte) Address { func NewAddress(b []byte) Address {
return Address{b: b} return Address{b: b}
} }
......
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