Skip to content

Commit

Permalink
Lint fix xof package
Browse files Browse the repository at this point in the history
  • Loading branch information
K1li4nL committed May 31, 2024
1 parent 7cac17a commit 9c31ff5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xof/blake2xb/blake.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (x *xof) Reseed() {

func (x *xof) Reset() {
x.impl.Reset()
x.impl.Write(x.seed)
_, _ = x.impl.Write(x.seed)
}

func (x *xof) XORKeyStream(dst, src []byte) {
Expand Down
2 changes: 1 addition & 1 deletion xof/blake2xs/blake.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (x *xof) Reseed() {

func (x *xof) Reset() {
x.impl.Reset()
x.impl.Write(x.seed)
_, _ = x.impl.Write(x.seed)
}

func (x *xof) XORKeyStream(dst, src []byte) {
Expand Down

0 comments on commit 9c31ff5

Please sign in to comment.