bytesToString bugfix
This commit is contained in:
parent
4d9130c937
commit
c20dee5908
2 changed files with 3 additions and 3 deletions
4
bitcoinjs-min.js
vendored
4
bitcoinjs-min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue