decred / dcrwallet

A secure Decred wallet daemon written in Go (golang).
https://decred.org
ISC License
212 stars 153 forks source link

wallet: Make validateHeaderChainDifficulties fulfill contract #2294

Closed matheusd closed 8 months ago

matheusd commented 8 months ago

This makes the branch that handles the error for checkDifficultyPositional() return the invalid chain in validateHeaderChainDifficulties.

Previously this branch failed to fulfill the contract of the function.

jrick commented 8 months ago

please rebase