We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5c6094 commit 2203da7Copy full SHA for 2203da7
module/finalizer/collection/finalizer.go
@@ -190,10 +190,10 @@ func (f *Finalizer) MakeFinal(blockID flow.Identifier) error {
190
return fmt.Errorf("could not construct guarantee: %w", err)
191
}
192
193
- // TODO: collections should only be pushed to consensus nodes, once they are successfully persisted as finalized:
194
- //storage.OnCommitSucceed(rw, func() {
195
- f.pusher.SubmitCollectionGuarantee(guarantee)
196
- //})
+ // collections should only be pushed to consensus nodes, once they are successfully persisted as finalized:
+ storage.OnCommitSucceed(rw, func() {
+ f.pusher.SubmitCollectionGuarantee(guarantee)
+ })
197
198
return nil
199
})
0 commit comments