test: chaindb - minor.
This commit is contained in:
parent
015eaa1f2d
commit
ba0e62efd7
@ -236,7 +236,7 @@ describe('Chain', function() {
|
|||||||
it('should rescan for transactions', cob(function* () {
|
it('should rescan for transactions', cob(function* () {
|
||||||
var total = 0;
|
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;
|
total += txs.length;
|
||||||
return Promise.resolve();
|
return Promise.resolve();
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user