diff --git a/lib/bcoin/utils.js b/lib/bcoin/utils.js index 94b57d8c..cd122794 100644 --- a/lib/bcoin/utils.js +++ b/lib/bcoin/utils.js @@ -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; diff --git a/test/script-test.js b/test/script-test.js index 15b55fcb..85403d93 100644 --- a/test/script-test.js +++ b/test/script-test.js @@ -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 {