Skip to content

Commit

Permalink
chore: update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
RafilxTenfen committed Oct 25, 2024
1 parent fcfed27 commit 978ccae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions finality-provider/service/fp_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -620,8 +620,8 @@ func (fp *FinalityProviderInstance) CommitPubRand(tipHeight uint64) (*types.TxRe
return nil, err
}

// make sure that the start height is updated to generate the list
// and also store the commit height.
// make sure that the start height is at least the finality activation height
// and updated to generate the list with the same as the commited height.
startHeight = fppath.MaxUint64(startHeight, activationBlkHeight)
// generate a list of Schnorr randomness pairs
// NOTE: currently, calling this will create and save a list of randomness
Expand Down

0 comments on commit 978ccae

Please sign in to comment.