Fix Kasey's comment.

This commit is contained in:
Manu NALEPA
2025-11-04 20:46:58 +01:00
parent 6014005f78
commit 9e3b4b7acf

View File

@@ -4,6 +4,7 @@ import (
"context" "context"
"crypto/sha256" "crypto/sha256"
"fmt" "fmt"
"strconv"
"strings" "strings"
"time" "time"
@@ -579,5 +580,5 @@ func inclusionProofKey(c blocks.RODataColumn) ([32]byte, error) {
} }
func concatRootSlot(root [fieldparams.RootLength]byte, slot primitives.Slot) string { func concatRootSlot(root [fieldparams.RootLength]byte, slot primitives.Slot) string {
return string(root[:]) + fmt.Sprintf("%d", slot) return string(root[:]) + strconv.Itoa(int(slot))
} }