From ba0e62efd7bdeb82b4303b0f1eac4a81e7b2515a Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Wed, 2 Nov 2016 22:08:07 -0700 Subject: [PATCH] test: chaindb - minor. --- test/chain-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/chain-test.js b/test/chain-test.js index 02396349..8697517f 100644 --- a/test/chain-test.js +++ b/test/chain-test.js @@ -236,7 +236,7 @@ describe('Chain', function() { it('should rescan for transactions', cob(function* () { var total = 0; - yield chain.db.scan(null, walletdb.filter, function(block, txs) { + yield chain.db.scan(0, walletdb.filter, function(block, txs) { total += txs.length; return Promise.resolve(); });