prysmaticlabs / prysm

append possibly assigns to a wrong variable CRT-D0001
Bug risk
Minor
1 occurrence in this check
append result not assigned to the same slice
1077		return err
1078	}
1079
1080	opts := append(b.serviceFlagOpts.builderOpts,1081		builder.WithHeadFetcher(chainService),
1082		builder.WithDatabase(b.db))
1083	// make cache the default.