Skip to content

Commit

Permalink
skip check
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Jan 24, 2024
1 parent 74f6a91 commit 9d33b89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/zetaclientd/keygen_tss.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ func GenerateTss(logger zerolog.Logger,
triedKeygenAtBlock = false
continue
}
if keyGen.Status == observertypes.KeygenStatus_PendingKeygen {
return tss, nil
}
// Try generating TSS at keygen block , only when status is pending keygen and generation has not been tried at the block
if keyGen.Status == observertypes.KeygenStatus_PendingKeygen {
if keyGen.BlockNumber == math.MaxInt64 {
Expand Down

0 comments on commit 9d33b89

Please sign in to comment.