Skip to content

Commit

Permalink
shadow header
Browse files Browse the repository at this point in the history
  • Loading branch information
timwu20 committed Sep 5, 2024
1 parent e45fe19 commit 0d0794f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/client/consensus/grandpa/justification.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ func (dgj *decodeGrandpaJustification[H, N, Hasher]) UnmarshalSCALE(reader io.Re
dgj.Justification.Commit = rch.Commit
dgj.Justification.VoteAncestries = make([]runtime.Header[N, H], len(rch.Headers))
for i, header := range rch.Headers {
header := header
dgj.Justification.VoteAncestries[i] = &header
}
return
Expand Down

0 comments on commit 0d0794f

Please sign in to comment.