Skip to content

Commit

Permalink
consensus/bor: fix setting of proto message value to correct type
Browse files Browse the repository at this point in the history
  • Loading branch information
Raneet10 committed Dec 27, 2024
1 parent bd5eddf commit d372b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/bor/heimdall/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ func Fetch[T any](ctx context.Context, request *Request) (*T, error) {
return nil, err
}

tValue := reflect.ValueOf(&result).Elem()
tValue := reflect.ValueOf(result).Elem()
tValue.Set(reflect.ValueOf(p).Elem())

return result, nil
Expand Down

0 comments on commit d372b13

Please sign in to comment.