Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/eth2wrap/genwrap/genwrap.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/log/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ func formatZapStack(zapStack string) string {
prevFunc string
)

for _, line := range strings.Split(zapStack, "\n") {
for line := range strings.SplitSeq(zapStack, "\n") {
if strings.HasPrefix(line, "\t") {
const sep = "charon/" // Note that this only works if source built in a folder named 'charon'.

Expand Down
2 changes: 1 addition & 1 deletion cmd/markdown_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func TestConfigReference(t *testing.T) {
output []string
skipping bool
)
for _, line := range strings.Split(string(content), "\n") {
for line := range strings.SplitSeq(string(content), "\n") {
if strings.Contains(line, "Code above generated by") {
skipping = false
}
Expand Down
2 changes: 1 addition & 1 deletion core/validatorapi/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -1895,7 +1895,7 @@ func getQueryArrayParameter(query url.Values, param string) []string {
var resp []string

for _, csv := range query[param] {
for _, id := range strings.Split(csv, ",") {
for id := range strings.SplitSeq(csv, ",") {
resp = append(resp, strings.TrimSpace(id))
}
}
Expand Down
Loading