mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
Add pkg crypto (#9603)
* Add pkg crypto * Update go.yml Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
"strings"
|
||||
|
||||
types "github.com/prysmaticlabs/eth2-types"
|
||||
"github.com/prysmaticlabs/prysm/shared/hashutil"
|
||||
"github.com/prysmaticlabs/prysm/crypto/hash"
|
||||
"gopkg.in/yaml.v2"
|
||||
)
|
||||
|
||||
@@ -52,7 +52,7 @@ func ParseGraffitiFile(f string) (*Graffiti, error) {
|
||||
}
|
||||
|
||||
g.Default = ParseHexGraffiti(g.Default)
|
||||
g.Hash = hashutil.Hash(yamlFile)
|
||||
g.Hash = hash.Hash(yamlFile)
|
||||
|
||||
return g, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user