This commit is contained in:
Christopher Jeffrey 2016-03-05 17:14:26 -08:00
parent 509ef15094
commit 30f454e184
2 changed files with 3 additions and 1 deletions

View File

@ -813,6 +813,8 @@ Chain.prototype._reorganize = function _reorganize(entry, callback) {
// Disconnect blocks/txs.
function disconnect(callback) {
var entries = [];
(function collect(entry) {
self.db.get(entry.prevBlock, function(err, entry) {
if (err)

View File

@ -59,7 +59,7 @@ function Pool(node, options) {
options.headers = true;
} else {
if (options.headers == null)
options.headers = true;
options.headers = false;
}
this.syncing = false;