Skip to content

Commit

Permalink
fix dead lock
Browse files Browse the repository at this point in the history
  • Loading branch information
billettc committed Oct 2, 2023
1 parent 56d0410 commit 487e4bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accountresolver/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ type mergeBlocksFile struct {
func newMergeBlocksFile(fileName string, logger *zap.Logger) *mergeBlocksFile {
return &mergeBlocksFile{
filename: fileName,
blockChan: make(chan *pbsol.Block),
blockChan: make(chan *pbsol.Block, 1),
logger: logger,
}
}
Expand Down

0 comments on commit 487e4bc

Please sign in to comment.