Skip to content

Commit 0cc6824

Browse files
authored
consensus/dbft: fix cross epoch decryption start round (#412)
1 parent 28a4058 commit 0cc6824

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

consensus/dbft/dbft.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ const (
9393
// crossEpochDecryptionStartRound is the number of DKG round (as denoted in KeyManagement
9494
// system contract) starting from which continuous cross-epoch Envelopes decryption is supported.
9595
// First DKG round setups sharing key, second DKG round setups resharing key, hence resharing
96-
// key may be used for decryption starting from the third round.
97-
crossEpochDecryptionStartRound = 3
96+
// key may be used for decryption starting from the second round.
97+
crossEpochDecryptionStartRound = 2
9898
)
9999

100100
// Various error messages to mark blocks invalid. These should be private to

0 commit comments

Comments
 (0)