multi: update linter, fix new issues

This commit is contained in:
Oliver Gugger
2024-08-20 12:46:24 +02:00
parent 7502bf3ad9
commit 03493d491b
20 changed files with 452 additions and 440 deletions

View File

@@ -201,7 +201,7 @@ func Decode(invoice string, net *chaincfg.Params, opts ...DecodeOption) (
errStr += fmt.Sprintf(" %d,", bit)
}
return nil, fmt.Errorf(strings.TrimRight(errStr, ","))
return nil, errors.New(strings.TrimRight(errStr, ","))
}
}