multi: fix linter errors

This commit is contained in:
Elle Mouton
2024-10-24 15:14:28 +02:00
parent fd2ea411be
commit 4089fbcb44
11 changed files with 276 additions and 186 deletions

View File

@@ -1685,7 +1685,7 @@ func (d *AuthenticatedGossiper) retransmitStaleAnns(now time.Time) error {
return nil
})
if err != nil && err != graphdb.ErrGraphNoEdgesFound {
if err != nil && !errors.Is(err, graphdb.ErrGraphNoEdgesFound) {
return fmt.Errorf("unable to retrieve outgoing channels: %w",
err)
}