diff --git a/js/coin.js b/js/coin.js index e139fef..ab5aeb7 100644 --- a/js/coin.js +++ b/js/coin.js @@ -148,7 +148,7 @@ } var s = coinjs.script(); - s.writeBytes(coinjs.numToByteArray(checklocktimeverify).reverse()); + s.writeBytes(coinjs.numToByteArray(checklocktimeverify)); s.writeOp(177);//OP_CHECKLOCKTIMEVERIFY s.writeOp(117);//OP_DROP s.writeBytes(Crypto.util.hexToBytes(pubkey)); @@ -687,7 +687,7 @@ // ^ OP_CHECKLOCKTIMEVERIFY OP_DROP OP_CHECKSIG ^ r = {} r.pubkey = Crypto.util.bytesToHex(s.chunks[3]); - r.checklocktimeverify = coinjs.bytesToNum(s.chunks[0].slice().reverse()); + r.checklocktimeverify = coinjs.bytesToNum(s.chunks[0].slice()); r.address = coinjs.simpleHodlAddress(r.pubkey, r.checklocktimeverify).address; r.type = "hodl__"; } diff --git a/sha1sum b/sha1sum index ab7dd25..374a888 100644 --- a/sha1sum +++ b/sha1sum @@ -1,9 +1,9 @@ ----- Version 1.2 2016.09.05 ---- +---- Version 1.2 2016.09.06 ---- 77e4519962e2f6a9fc93342137dbb31c33b76b04 ./js/aes.js 3a09a8fc0cfe828b57fc798d668234d0490ee1a6 ./js/bootstrap-datetimepicker.min.js 253711c6d825de55a8360552573be950da180614 ./js/bootstrap.min.js 4d5125c65432bfebfd1fa2d0dca0af1d037bc7e9 ./js/coinbin.js -b93555d2e150a10adb02144d30230966fe03bbee ./js/coin.js +b9af8c7b34429b0513972107d9b22b84e9d4fc8a ./js/coin.js 988565bc2cb402d63ed5c5fd7ff47c4278efc2c5 ./js/collapse.js 9ba5ede3d7f9d4c8fd623395f196adfdcf7e970f ./js/crypto-min.js f7c09f2f5a721371e7d478050119f7e2d58e3ef9 ./js/crypto-sha256-hmac.js