Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ensure to use correct pointer in home loop
When dereferencing loop variables in go, one must ensure to copy the value in the loop variable before dereferencing. Else one dereferences the loop pointer instead of the variable. See [1] for more details. [1]: https://stackoverflow.com/questions/45967305/copying-the-address-of-a-loop-variable-in-go
- Loading branch information