accumulator may be zero in reward hook

This commit is contained in:
Richard Holland
2023-01-13 10:45:10 +00:00
parent b12b39d3a6
commit 9791075bb8

View File

@@ -90,7 +90,7 @@ int64_t hook(uint32_t r)
TRACEVAR(first);
TRACEVAR(last);
ASSERT(accumulator > 0 && first > 0 && last > 0);
ASSERT(/*accumulator > 0 &&*/ first > 0 && last > 0);
// we need to add the final block ourselves