Skip to content

Commit

Permalink
fix test post rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
jimjbrettj committed Aug 8, 2023
1 parent 917fbea commit 8e248c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions client/consensus/grandpa/authorities.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,6 @@ func NewGenesisAuthoritySet[H comparable, N constraints.Unsigned](initial Author
return &AuthoritySet[H, N]{
CurrentAuthorities: initial,
PendingStandardChanges: NewChangeTree[H, N](),
PendingForcedChanges: make([]PendingChange[H, N], 0),
AuthoritySetChanges: make(AuthoritySetChanges[N], 0),
}
}

Expand Down
2 changes: 2 additions & 0 deletions client/consensus/grandpa/auxSchema.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ func loadPersistent[H comparable, N constraints.Unsigned](store AuxStore, genesi
// No longer use version to tell if data is persisted, just use actual data
set := AuthoritySet[H, N]{
PendingStandardChanges: NewChangeTree[H, N](),
PendingForcedChanges: make([]PendingChange[H, N], 0),
AuthoritySetChanges: make(AuthoritySetChanges[N], 0),
}
setState := *NewVoterSetState[H, N]()
encodedAuthSet, err := store.Get(AUTHORITY_SET_KEY)
Expand Down

0 comments on commit 8e248c6

Please sign in to comment.