Skip to content

Commit

Permalink
fix validatorset cache
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Mar 11, 2024
1 parent 2911ad3 commit c730af7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/coordinator/clients/consensus/blockcache.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ func (cache *BlockCache) getCachedValidatorSet(loadFn func() map[phase0.Validato
valsetMap := loadFn()
if valsetMap != nil {
cache.valsetMap = valsetMap
cache.valsetEpoch = epoch
}
}

Expand Down

0 comments on commit c730af7

Please sign in to comment.