mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-11 14:54:12 +00:00
"oops"
``` 647.913, 0.000, 647.913, 647.913, 1, Initialize DB 0.540, 0.402, 0.340, 9.451, 619, Load block from database 40.268, 0.000, 40.268, 40.268, 1, Load state from database 0.498, 0.150, 0.343, 0.930, 596, Apply block 3.548, 11.005, 0.729, 54.022, 23, Apply epoch block ```
This commit is contained in:
parent
bcf90860b6
commit
00acf4f7b2
@ -636,7 +636,7 @@ func cachedHash*(x: HashList, vIdx: int64): Eth2Digest =
|
||||
trs "ZERO ", x.indices[layer], " ", x.indices[layer + 1]
|
||||
zeroHashes[x.maxDepth - layer]
|
||||
else:
|
||||
if true or not isCached(x.hashes[layerIdx]):
|
||||
if not isCached(x.hashes[layerIdx]):
|
||||
# TODO oops. so much for maintaining non-mutability.
|
||||
let px = unsafeAddr x
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user