diff --git a/trie/disabledGoroutinesManager.go b/trie/disabledGoroutinesManager.go index 4133c5fb8e..e5be63e7f9 100644 --- a/trie/disabledGoroutinesManager.go +++ b/trie/disabledGoroutinesManager.go @@ -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