add state check assert routine

This commit is contained in:
alex.sharov 2021-08-27 16:48:10 +07:00
parent b835777514
commit c0ad0c6745

View File

@ -1715,7 +1715,7 @@ func BroadcastLoop(ctx context.Context, db kv.RwDB, coreDB kv.RoDB, p *TxPool, s
logEvery := time.NewTicker(timings.logEvery)
defer logEvery.Stop()
commitEvery := time.NewTicker(5 * time.Second)
commitEvery := time.NewTicker(3 * time.Second)
defer commitEvery.Stop()
syncToNewPeersEvery := time.NewTicker(timings.syncToNewPeersEvery)