add mempoolADdressIndex test
This commit is contained in:
parent
c1d3f351f2
commit
c65c2bad20
@ -1977,6 +1977,7 @@ describe('Address Service', function() {
|
||||
am.mempoolIndex.batch = function(operations, callback) {
|
||||
callback.should.be.a('function');
|
||||
Object.keys(am.mempoolSpentIndex).length.should.equal(14);
|
||||
Object.keys(am.mempoolAddressIndex).length.should.equal(5);
|
||||
for (var i = 0; i < operations.length; i++) {
|
||||
operations[i].type.should.equal('put');
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user