aboutsummaryrefslogtreecommitdiffstats
path: root/dist/ethereum.js
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-10 00:27:56 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-10 00:27:56 +0800
commit47687cf085196e2e4fa7ec42ff426f241dae10c5 (patch)
tree76441477e79282cd2809ef14b7346831ca3844c5 /dist/ethereum.js
parent92f171ec997fe478cd1e87b8f91ee127b2fb49f3 (diff)
downloadgo-tangerine-47687cf085196e2e4fa7ec42ff426f241dae10c5.tar
go-tangerine-47687cf085196e2e4fa7ec42ff426f241dae10c5.tar.gz
go-tangerine-47687cf085196e2e4fa7ec42ff426f241dae10c5.tar.bz2
go-tangerine-47687cf085196e2e4fa7ec42ff426f241dae10c5.tar.lz
go-tangerine-47687cf085196e2e4fa7ec42ff426f241dae10c5.tar.xz
go-tangerine-47687cf085196e2e4fa7ec42ff426f241dae10c5.tar.zst
go-tangerine-47687cf085196e2e4fa7ec42ff426f241dae10c5.zip
default padding changed to 0
Diffstat (limited to 'dist/ethereum.js')
-rw-r--r--dist/ethereum.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/ethereum.js b/dist/ethereum.js
index 30684dbf4..26de2c02e 100644
--- a/dist/ethereum.js
+++ b/dist/ethereum.js
@@ -855,7 +855,7 @@ var web3 = {
},
fromAscii: function(str, pad) {
- pad = pad === undefined ? 32 : pad;
+ pad = pad === undefined ? 0 : pad;
var hex = this.toHex(str);
while(hex.length < pad*2)
hex += "00";