bytesToString bugfix

This commit is contained in:
vub 2013-10-11 13:19:44 -04:00
parent 4d9130c937
commit c20dee5908
2 changed files with 3 additions and 3 deletions

4
bitcoinjs-min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -64,7 +64,7 @@ module.exports.bytesToBin = function(bytes) {
} }
module.exports.bytesToString = function(bytes) { module.exports.bytesToString = function(bytes) {
return bytes.map(String.fromCharCode).join(''); return bytes.map(function(x){ return String.fromCharCode(x) }).join('');
} }
module.exports.stringToBytes = function(string) { module.exports.stringToBytes = function(string) {