Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BeniaminDrasovean committed Dec 18, 2024
1 parent 0e4014e commit 381ecec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trie/disabledGoroutinesManager.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func NewDisabledGoroutinesManager() *disabledGoroutinesManager {

// ShouldContinueProcessing returns true if there is no error
func (d *disabledGoroutinesManager) ShouldContinueProcessing() bool {
return d.err != nil
return d.err == nil
}

// CanStartGoRoutine returns false
Expand Down

0 comments on commit 381ecec

Please sign in to comment.