script test.

This commit is contained in:
Christopher Jeffrey 2016-05-16 03:18:46 -07:00
parent 92d95c552c
commit 56445cf562
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
2 changed files with 5 additions and 0 deletions

View File

@ -1639,6 +1639,7 @@ utils.writeU64NBE = function writeU64NBE(dst, num, off) {
/**
* Max safe integer (53 bits).
* @const {Number}
* @default
*/
utils.MAX_SAFE_INTEGER = 0x1fffffffffffff;
@ -1647,6 +1648,7 @@ utils.MAX_SAFE_INTEGER = 0x1fffffffffffff;
* Max 52 bit integer (safe for additions).
* `(MAX_SAFE_INTEGER - 1) / 2`
* @const {Number}
* @default
*/
utils.MAX_SAFE_ADDITION = 0xfffffffffffff;

View File

@ -333,7 +333,10 @@ describe('Script', function() {
});
if (nocache) {
delete input.raw;
delete input.redeem;
delete input._address;
delete output.raw;
delete output._address;
}
var err, res;
try {