File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 7
7
"semver" : " ^5.3.0"
8
8
},
9
9
"devDependencies" : {
10
- "ethereumjs-util" : " ^5 .0.1 " ,
11
- "standard" : " ^8.4.0 " ,
12
- "swarmhash" : " ^0.1.0 "
10
+ "ethereumjs-util" : " ^7 .0.2 " ,
11
+ "standard" : " ^14.3.4 " ,
12
+ "swarmhash" : " ^0.1.1 "
13
13
},
14
14
"scripts" : {
15
15
"lint" : " standard update" ,
Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ dirs.forEach(function (dir) {
43
43
. map ( function ( pars ) {
44
44
const fileContent = readFile ( pars . path )
45
45
pars . longVersion = buildVersion ( pars )
46
- pars . keccak256 = '0x' + ethUtil . sha3 ( fileContent ) . toString ( 'hex' )
47
- pars . urls = [ 'bzzr://' + swarmhash ( fileContent ) . toString ( 'hex' ) ]
46
+ pars . keccak256 = '0x' + ethUtil . keccak ( fileContent ) . toString ( 'hex' )
47
+ pars . urls = [ 'bzzr://' + swarmhash ( fileContent ) . toString ( 'hex' ) ]
48
48
return pars
49
49
} )
50
50
. sort ( function ( a , b ) {
You can’t perform that action at this time.
0 commit comments