diff --git a/trie/utils/verkle.go b/trie/utils/verkle.go index 481f485267..f138a047d1 100644 --- a/trie/utils/verkle.go +++ b/trie/utils/verkle.go @@ -308,14 +308,14 @@ func StorageSlotKeyWithEvaluatedAddress(evaluated *verkle.Point, storageKey []by // TODO: We can remove this method once https://github.com/ethereum/go-verkle/pull/428 // TODO is merged. // TODO: we would then be able to call `verkle.MapToScalarFieldBytes` -func MapToScalarFieldBytes(point *verkle.Point) [32]byte { +func mapToScalarFieldBytes(point *verkle.Point) [32]byte { var hashedPoint verkle.Fr point.MapToScalarField(&hashedPoint) return hashedPoint.BytesLE() } func pointToHash(evaluated *verkle.Point, suffix byte) []byte { - bytes := MapToScalarFieldBytes(evaluated) + bytes := mapToScalarFieldBytes(evaluated) bytes[31] = suffix return bytes[:] }