Skip to content

Commit

Permalink
Update pkg/finality-grandpa/vote_graph.go
Browse files Browse the repository at this point in the history
Co-authored-by: JimboJ <40345116+jimjbrettj@users.noreply.github.com>
  • Loading branch information
timwu20 and jimjbrettj committed Sep 5, 2024
1 parent 00f69d0 commit b47c717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/finality-grandpa/vote_graph.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ func (vg *VoteGraph[Hash, Number, voteNode, Vote]) ghostFindMergePoint( //skipcq
descendantBlocks := make([]hashvote[Hash, voteNode, Vote], 0)
hashes := []Hash{nodeKey}

// TODO: for long ranges of blocks this could get inefficient (also in parity impl)
// TODO: for long ranges of blocks this could get inefficient
var offset Number
for {
offset = offset + 1
Expand Down

0 comments on commit b47c717

Please sign in to comment.