mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
Fix Kasey's comment.
This commit is contained in:
@@ -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))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user