Skip to content

Commit

Permalink
update throttle interface
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangchiqing committed Feb 2, 2024
1 parent 912e9fd commit d9658cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/execution/ingestion/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type Core struct {
}

type Throttle interface {
Init(processables <-chan flow.Identifier) error
Init(processables chan<- flow.Identifier) error
OnBlock(blockID flow.Identifier) error
OnBlockExecuted(blockID flow.Identifier, height uint64) error
}
Expand Down

0 comments on commit d9658cc

Please sign in to comment.