mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-29 16:13:47 +00:00
use wiggle as 2*period
This commit is contained in:
parent
6cc7e88e94
commit
374e438f42
1 changed files with 1 additions and 1 deletions
|
|
@ -726,7 +726,7 @@ func (c *Bor) Seal(chain consensus.ChainReader, block *types.Block, results chan
|
|||
|
||||
// Sweet, the protocol permits us to sign the block, wait for our time
|
||||
delay := time.Unix(int64(header.Time), 0).Sub(time.Now()) // nolint: gosimple
|
||||
wiggle := time.Duration(wiggleTime) * time.Duration(tempIndex-proposerIndex)
|
||||
wiggle := time.Duration(2*c.config.Period) * time.Second * time.Duration(tempIndex-proposerIndex)
|
||||
delay += wiggle
|
||||
|
||||
fmt.Println("Out-of-turn signing requested", "wiggle", common.PrettyDuration(wiggle))
|
||||
|
|
|
|||
Loading…
Reference in a new issue