Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: write test showing that TD is not stored properly at genesis
The ToBlock method applies a default value for an empty difficulty value. This default is not carried over through the Commit method because the TotalDifficulty database write writes the original difficulty value (nil) instead of the defaulty value present on the genesis Block. Date: 2021-10-22 08:25:32-07:00 Signed-off-by: meows <b5c6@protonmail.com>
- Loading branch information