From 8c634298c6df18493fa6da4d02d097372a4f1a6c Mon Sep 17 00:00:00 2001 From: acud <12988138+acud@users.noreply.github.com> Date: Thu, 8 Aug 2024 09:27:39 -0600 Subject: [PATCH] fix build --- txs/cache.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/txs/cache.go b/txs/cache.go index 503d769ad0..85eedc0c72 100644 --- a/txs/cache.go +++ b/txs/cache.go @@ -650,11 +650,10 @@ func (c *Cache) updateLayer(lid types.LayerID, bid types.BlockID, tids []types.T for _, ID := range tids { if _, ok := c.cachedTXs[ID]; !ok { // transaction is not considered best in its nonce group - return nil + return } c.cachedTXs[ID].UpdateLayerMaybe(lid, bid) } - return nil } func (c *Cache) applyEmptyLayer(db *sql.Database, lid types.LayerID) error {