Skip to content

Commit

Permalink
merged
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph committed Dec 12, 2023
2 parents 0ab1ddc + 054b5e9 commit e22f364
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions x/merkledb/history.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,6 @@ func (th *trieHistory) getValueChanges(
}

// [endRootChanges] is the last change in the history resulting in [endRoot].
// TODO when we update to minimum go version 1.20.X, make this return another
// wrapped error ErrNoEndRoot. In NetworkServer.HandleChangeProofRequest, if we return
// that error, we know we shouldn't try to generate a range proof since we
// lack the necessary history.
endRootChanges, ok := th.lastChanges[endRoot]
if !ok {
return nil, fmt.Errorf("%w: %s", ErrNoEndRoot, endRoot)
Expand Down

0 comments on commit e22f364

Please sign in to comment.