Browse Source

Small bugfix

hk-custom-address
vub 11 years ago
parent
commit
44d740f84e
  1. 2
      bitcoinjs-min.js
  2. 2
      src/util.js

2
bitcoinjs-min.js

File diff suppressed because one or more lines are too long

2
src/util.js

@ -27,7 +27,7 @@ module.exports = {
*/
numToBytes: function(num,bytes) {
if (bytes == 0 || (bytes === null && num === 0)) return [];
else return [num % 256].concat(bw.numToBytes(Math.floor(num / 256),bytes-1));
else return [num % 256].concat(module.exports.numToBytes(Math.floor(num / 256),bytes-1));
},
/**
* Turn an integer into a "var_int".

Loading…
Cancel
Save