rlp/rlpgen: remove comments

This commit is contained in:
Felix Lange 2025-06-19 17:07:33 +02:00
parent 00a5387995
commit 5a00294c63

View file

@ -189,10 +189,8 @@ func (ctx *genContext) importsList() []string {
imp := make([]string, 0, len(ctx.imports))
for path, p := range ctx.imports {
if p.alias == p.pkg.Name() {
// If the alias matches the package name, use standard import
imp = append(imp, fmt.Sprintf("%q", path))
} else {
// If we have a custom alias, use aliased import
imp = append(imp, fmt.Sprintf("%s %q", p.alias, path))
}
}