Skip to content

Commit dcbf73d

Browse files
committed
Include sha256 hash in list.json (for easier commandline validation)
1 parent e9dd604 commit dcbf73d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

update

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ fs.readdir(path.join(__dirname, '/bin'), function (err, files) {
3939
.map(function (pars) {
4040
const fileContent = readFile(pars.path)
4141
pars.longVersion = buildVersion(pars)
42+
pars.sha256 = '0x' + ethUtil.sha256(fileContent).toString('hex')
4243
pars.keccak256 = '0x' + ethUtil.sha3(fileContent).toString('hex')
4344
pars.urls = [ 'bzzr://' + swarmhash(fileContent).toString('hex') ]
4445
return pars

0 commit comments

Comments
 (0)