We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3b4c02 commit bf9987dCopy full SHA for bf9987d
package.json
@@ -7,9 +7,9 @@
7
"semver": "^5.3.0"
8
},
9
"devDependencies": {
10
- "ethereumjs-util": "^5.0.1",
11
- "standard": "^8.4.0",
12
- "swarmhash": "^0.1.0"
+ "ethereumjs-util": "^7.0.2",
+ "standard": "^8.6.0",
+ "swarmhash": "^0.1.1"
13
14
"scripts": {
15
"lint": "standard update",
update
@@ -43,7 +43,7 @@ dirs.forEach(function (dir) {
43
.map(function (pars) {
44
const fileContent = readFile(pars.path)
45
pars.longVersion = buildVersion(pars)
46
- pars.keccak256 = '0x' + ethUtil.sha3(fileContent).toString('hex')
+ pars.keccak256 = '0x' + ethUtil.keccak(fileContent).toString('hex')
47
pars.urls = [ 'bzzr://' + swarmhash(fileContent).toString('hex') ]
48
return pars
49
})
0 commit comments