aboutsummaryrefslogtreecommitdiffstats
path: root/ethstats/ethstats.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2017-03-18 07:55:37 +0800
committerFelix Lange <fjl@twurst.com>2017-03-18 08:05:28 +0800
commit24dd0355a34a40b1798c9b8bd97a7332a77e2556 (patch)
tree6eb22f45d051a3ba7aeeade24614dc2808b1b60e /ethstats/ethstats.go
parent61ede86737d57f62cb09de013191fc430d1dd3a2 (diff)
downloaddexon-24dd0355a34a40b1798c9b8bd97a7332a77e2556.tar
dexon-24dd0355a34a40b1798c9b8bd97a7332a77e2556.tar.gz
dexon-24dd0355a34a40b1798c9b8bd97a7332a77e2556.tar.bz2
dexon-24dd0355a34a40b1798c9b8bd97a7332a77e2556.tar.lz
dexon-24dd0355a34a40b1798c9b8bd97a7332a77e2556.tar.xz
dexon-24dd0355a34a40b1798c9b8bd97a7332a77e2556.tar.zst
dexon-24dd0355a34a40b1798c9b8bd97a7332a77e2556.zip
pow: fix Search with ethash test mode
The cache/dataset methods crashed with a nil pointer error if cachesinmem/dagsinmem were zero. Fix it by skipping the eviction logic if there are no caches/datasets. Search always used the regular dataset size regardless of test mode. Fix it by removing the redundant size parameter of hashimotoFull. Fixes #3784
Diffstat (limited to 'ethstats/ethstats.go')
0 files changed, 0 insertions, 0 deletions