From ac4eb663a7c52bc1c5d4bfdd4596c2927c0b25a2 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Fri, 20 Mar 2020 20:20:49 -0700 Subject: [PATCH] Fixing tests that broke in ABC 0.20.2 --- test/v3/blockchain.js | 6 ++++-- test/v3/mining.js | 1 - test/v3/slp.js | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/test/v3/blockchain.js b/test/v3/blockchain.js index 3d1d8b4..0675499 100644 --- a/test/v3/blockchain.js +++ b/test/v3/blockchain.js @@ -418,7 +418,8 @@ describe('#BlockchainRouter', () => { 'difficulty', 'chainwork', 'previousblockhash', - 'nextblockhash' + 'nextblockhash', + 'nTx' ]) }) }) @@ -594,7 +595,8 @@ describe('#BlockchainRouter', () => { 'difficulty', 'chainwork', 'previousblockhash', - 'nextblockhash' + 'nextblockhash', + 'nTx' ]) }) diff --git a/test/v3/mining.js b/test/v3/mining.js index bc51cc3..8c2d97e 100644 --- a/test/v3/mining.js +++ b/test/v3/mining.js @@ -152,7 +152,6 @@ describe('#Mining', () => { 'currentblocksize', 'currentblocktx', 'difficulty', - 'blockprioritypercentage', 'warnings', 'networkhashps', 'pooledtx', diff --git a/test/v3/slp.js b/test/v3/slp.js index 61eec0f..deb125e 100644 --- a/test/v3/slp.js +++ b/test/v3/slp.js @@ -411,7 +411,7 @@ describe('#SLP', () => { ] const result = await validateBulk(req, res) - console.log(`result: ${util.inspect(result)}`) + // console.log(`result: ${util.inspect(result)}`) assert.isArray(result) assert.hasAllKeys(result[0], ['txid', 'valid'])