diff options
Diffstat (limited to 'core/consensus.go')
-rw-r--r-- | core/consensus.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/consensus.go b/core/consensus.go index 050bfe7..5945406 100644 --- a/core/consensus.go +++ b/core/consensus.go @@ -1070,6 +1070,9 @@ func (con *Consensus) ProcessBlockRandomnessResult( if rand.Position.Round == 0 { return nil } + if !con.bcModule.shouldAddRandomness(rand) { + return nil + } if err := con.bcModule.addRandomness(rand); err != nil { return err } |