From 56445cf5628c61b9bc449536155bcbc52f450622 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Mon, 16 May 2016 03:18:46 -0700 Subject: [PATCH] script test. --- lib/bcoin/utils.js | 2 ++ test/script-test.js | 3 +++ 2 files changed, 5 insertions(+) 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 {