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:
terence tsao
2021-09-15 15:55:11 -07:00
committed by GitHub
parent fff0208207
commit ee5d75732d
284 changed files with 530 additions and 530 deletions

View File

@@ -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
}