Browse Source

bytesToString bugfix

hk-custom-address
vub 11 years ago
parent
commit
c20dee5908
  1. 4
      bitcoinjs-min.js
  2. 2
      src/convert.js

4
bitcoinjs-min.js

File diff suppressed because one or more lines are too long

2
src/convert.js

@ -64,7 +64,7 @@ module.exports.bytesToBin = 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) {

Loading…
Cancel
Save