bsc/consensus
Preston Van Loon 844485ec6a
consensus/ethash: fix usage of *reflect.SliceHeader (#21372)
* consensus/ethash: only use *reflect.SliceHeader, not reflect.SliceHeader. See comment here: https://github.com/golang/go/issues/40397\#issuecomment-663748689

* consensus/ethash: pr feedback from @mdempsky, makes a copy of dest such that is not mutated

* consensus/ethash: remove noop assign

* consensus/ethash: apply same fix to another location

Co-authored-by: Péter Szilágyi <peterke@gmail.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
2020-11-17 11:35:58 +02:00
..
clique consensus/clique: unexport calcDifficulty and improve comment (#21619) 2020-10-13 11:00:42 +02:00
ethash consensus/ethash: fix usage of *reflect.SliceHeader (#21372) 2020-11-17 11:35:58 +02:00
misc all: fix typos in comments (#21118) 2020-05-25 10:21:28 +02:00
consensus.go les: implement new les fetcher (#20692) 2020-07-28 18:02:35 +03:00
errors.go consensus: fix possessives in comments. (#20209) 2019-10-28 09:57:34 +02:00