Skip to content

Commit

Permalink
Fix another refactoring glitch introduced with #27
Browse files Browse the repository at this point in the history
  • Loading branch information
liamsi committed Mar 22, 2021
1 parent 14db874 commit 2ce94e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nmt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ func BenchmarkComputeRoot(b *testing.B) {
for i := 0; i < b.N; i++ {
n := New(sha256.New())
for j := 0; j < tt.numLeaves; j++ {
if err := n.Push(data[j][:tt.nidSize]); err != nil {
if err := n.Push(data[j]); err != nil {
b.Errorf("err: %v", err)
}
}
Expand Down

0 comments on commit 2ce94e5

Please sign in to comment.