Minor cleanup.
This commit is contained in:
parent
bb73bac027
commit
fe6896ba98
@ -226,7 +226,7 @@ DB.prototype.batch = function(ops, options, callback) {
|
|||||||
DB.prototype.createReadStream = function(op) {
|
DB.prototype.createReadStream = function(op) {
|
||||||
var stream;
|
var stream;
|
||||||
if (!this._stopping) {
|
if (!this._stopping) {
|
||||||
stream = this._store.createReadStream(op)
|
stream = this._store.createReadStream(op);
|
||||||
}
|
}
|
||||||
return stream;
|
return stream;
|
||||||
};
|
};
|
||||||
@ -234,7 +234,7 @@ DB.prototype.createReadStream = function(op) {
|
|||||||
DB.prototype.createKeyStream = function(op) {
|
DB.prototype.createKeyStream = function(op) {
|
||||||
var stream;
|
var stream;
|
||||||
if (!this._stopping) {
|
if (!this._stopping) {
|
||||||
stream = this._store.createKeyStream(op)
|
stream = this._store.createKeyStream(op);
|
||||||
}
|
}
|
||||||
return stream;
|
return stream;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -6,8 +6,6 @@ var BaseService = require('../../service');
|
|||||||
var inherits = require('util').inherits;
|
var inherits = require('util').inherits;
|
||||||
var Encoding = require('./encoding');
|
var Encoding = require('./encoding');
|
||||||
var levelup = require('levelup');
|
var levelup = require('levelup');
|
||||||
var index = require('../../../');
|
|
||||||
var log = index.log;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Transaction Service builds upon the Database Service and the Bitcoin Service to add additional
|
* The Transaction Service builds upon the Database Service and the Bitcoin Service to add additional
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user