Browse Source

Squashed 'libjsqrc/ethereumjs/' changes from 92f171e..47687cf

47687cf default padding changed to 0

git-subtree-dir: libjsqrc/ethereumjs
git-subtree-split: 47687cf085
cl-refactor
Marek Kotewicz 10 years ago
parent
commit
10c2d6030f
  1. 2
      dist/ethereum.js
  2. 2
      dist/ethereum.js.map
  3. 2
      dist/ethereum.min.js
  4. 2
      lib/web3.js

2
dist/ethereum.js

@ -855,7 +855,7 @@ var web3 = {
}, },
fromAscii: function(str, pad) { fromAscii: function(str, pad) {
pad = pad === undefined ? 32 : pad; pad = pad === undefined ? 0 : pad;
var hex = this.toHex(str); var hex = this.toHex(str);
while(hex.length < pad*2) while(hex.length < pad*2)
hex += "00"; hex += "00";

2
dist/ethereum.js.map

File diff suppressed because one or more lines are too long

2
dist/ethereum.min.js

File diff suppressed because one or more lines are too long

2
lib/web3.js

@ -256,7 +256,7 @@ var web3 = {
}, },
fromAscii: function(str, pad) { fromAscii: function(str, pad) {
pad = pad === undefined ? 32 : pad; pad = pad === undefined ? 0 : pad;
var hex = this.toHex(str); var hex = this.toHex(str);
while(hex.length < pad*2) while(hex.length < pad*2)
hex += "00"; hex += "00";

Loading…
Cancel
Save