Skip to content

Commit

Permalink
revert flush change.
Browse files Browse the repository at this point in the history
  • Loading branch information
winder committed Aug 8, 2023
1 parent 6e6663a commit 5e31835
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tools/block-generator/generator/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -385,9 +385,6 @@ func (g *generator) WriteBlock(output io.Writer, round uint64) error {
if err != nil {
return fmt.Errorf("failed to add validated block: %w", err)
}
//g.ledger.FlushCaches()
//<-g.ledger.Wait(vBlock.Block().Round())
g.ledger.WaitForCommit(vBlock.Block().Round())
validated = time.Now()

cert.Block.Payset = vBlock.Block().Payset
Expand Down

0 comments on commit 5e31835

Please sign in to comment.