Verified Commit 23c0edce authored by Jeffrey H. Johnson's avatar Jeffrey H. Johnson Committed by Jeffrey H. Johnson
Browse files

Merge pull request #22 from gridfinity/deepsource-fix-ac4dffc7

Remove unnecessary use of slice
parents 14cfc243 151fa724
......@@ -44,7 +44,7 @@ func (
if n.seed[0] == 0 {
_, err = io.ReadFull(
rand.Reader,
n.seed[:],
n.seed,
)
if err != nil {
panic(
......@@ -54,6 +54,6 @@ func (
}
copy(
nonce,
n.seed[:],
n.seed,
)
}
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