test: chaindb - minor.

This commit is contained in:
Christopher Jeffrey 2016-11-02 22:08:07 -07:00
parent 015eaa1f2d
commit ba0e62efd7
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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();
});