Co-authored-by: dirkmc <dirkmdev@gmail.com>
This commit is contained in:
raulk
2021-05-19 15:08:14 +01:00
committed by GitHub
co-authored by dirkmc
parent 50360e68ae
commit 996feda1f7
+1 -1
View File
@@ -858,7 +858,7 @@ func (cs *ChainStore) NearestCommonAncestor(a, b *types.TipSet) (*types.TipSet,
// a common ancestor. It then returns the respective chain segments that fork
// from the identified ancestor, in reverse order, where the first element of
// each slice is the supplied tipset, and the last element is the common
// ancenstor.
// ancestor.
//
// If an error happens along the way, we return the error with nil slices.
func (cs *ChainStore) ReorgOps(a, b *types.TipSet) ([]*types.TipSet, []*types.TipSet, error) {