Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
acud committed Aug 8, 2024
1 parent a35e0b1 commit 8c63429
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions txs/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check warning on line 653 in txs/cache.go

View check run for this annotation

Codecov / codecov/patch

txs/cache.go#L653

Added line #L653 was not covered by tests
}
c.cachedTXs[ID].UpdateLayerMaybe(lid, bid)
}
return nil
}

func (c *Cache) applyEmptyLayer(db *sql.Database, lid types.LayerID) error {
Expand Down

0 comments on commit 8c63429

Please sign in to comment.