From 381ecec5ae67a5b1a1c612c313e910697f49fbd7 Mon Sep 17 00:00:00 2001 From: BeniaminDrasovean Date: Wed, 18 Dec 2024 16:52:14 +0200 Subject: [PATCH] small fix --- trie/disabledGoroutinesManager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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