Skip to content
Snippets Groups Projects
Commit d48fc587 authored by Davide Galassi's avatar Davide Galassi Committed by GitHub
Browse files

Fix longest chain finalization target lookup (#13289)


* Finalization target should be chosed as some ancestor of SelectChain::best_chain

* More test assertions

* Improve docs

* Removed stale docs

* Rename 'target' to 'base' in lookup method

* Fix typo

* Apply suggestions from code review

Co-authored-by: default avatarAndré Silva <123550+andresilva@users.noreply.github.com>

* Rename 'target_hash' to 'base_hash' in 'SelectChain::finality_target()'

* Apply suggestions from code review

Co-authored-by: default avatarAnton <anton.kalyaev@gmail.com>

* Docs improvement

* Doc fix

* Apply suggestions from code review

Co-authored-by: default avatarBastian Köcher <git@kchr.de>

* Apply more code suggestions

---------

Co-authored-by: default avatarAndré Silva <123550+andresilva@users.noreply.github.com>
Co-authored-by: default avatarAnton <anton.kalyaev@gmail.com>
Co-authored-by: default avatarBastian Köcher <git@kchr.de>
parent 9a8bbbab
Branches
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment