set it under either case

This commit is contained in:
Cassandra Heart 2024-11-13 10:03:52 -06:00
parent 5333b4a8cc
commit 07a27d7dc6
No known key found for this signature in database
GPG Key ID: 6352152859385958

View File

@ -59,6 +59,7 @@ func (e *DataClockConsensusEngine) runLoop() {
select {
case dataFrame := <-dataFrameCh:
runOnce = false
if e.GetFrameProverTries()[0].Contains(e.provingKeyAddress) {
if err = e.publishProof(dataFrame); err != nil {
e.logger.Error("could not publish", zap.Error(err))