Skip to content

Commit

Permalink
Fixed unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
begmaroman committed Aug 26, 2024
1 parent 63857fd commit 9e781f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reorgdetector/types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func TestBlockMap(t *testing.T) {
t.Run("get", func(t *testing.T) {
t.Parallel()

if !reflect.DeepEqual(bm.get(3), bm.headers[3]) {
if !reflect.DeepEqual(*bm.get(3), bm.headers[3]) {
t.Errorf("get() returned incorrect result, expected: %v, got: %v", bm.get(3), bm.headers[3])
}
})
Expand Down

0 comments on commit 9e781f4

Please sign in to comment.