Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
fix Sha3/keccak256 hash calculation for binaries (#10509)
Browse files Browse the repository at this point in the history
  • Loading branch information
General-Beck authored and TriplEight committed Mar 22, 2019
1 parent 375a8da commit f2c34f7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/gitlab/build-linux.sh
Expand Up @@ -47,5 +47,10 @@ echo "_____ Calculating checksums _____"
for binary in $(ls)
do
rhash --sha256 $binary -o $binary.sha256 #do we still need this hash (SHA2)?
rhash --sha3-256 $binary -o $binary.sha3
if [[ $CARGO_TARGET == *"x86_64"* ]];
then
./parity tools hash $binary > $binary.sha3
else
echo "> ${binary} cannot be hashed with cross-compiled binary (keccak256)"
fi
done

0 comments on commit f2c34f7

Please sign in to comment.