minor.
This commit is contained in:
parent
509ef15094
commit
30f454e184
@ -813,6 +813,8 @@ Chain.prototype._reorganize = function _reorganize(entry, callback) {
|
|||||||
|
|
||||||
// Disconnect blocks/txs.
|
// Disconnect blocks/txs.
|
||||||
function disconnect(callback) {
|
function disconnect(callback) {
|
||||||
|
var entries = [];
|
||||||
|
|
||||||
(function collect(entry) {
|
(function collect(entry) {
|
||||||
self.db.get(entry.prevBlock, function(err, entry) {
|
self.db.get(entry.prevBlock, function(err, entry) {
|
||||||
if (err)
|
if (err)
|
||||||
|
|||||||
@ -59,7 +59,7 @@ function Pool(node, options) {
|
|||||||
options.headers = true;
|
options.headers = true;
|
||||||
} else {
|
} else {
|
||||||
if (options.headers == null)
|
if (options.headers == null)
|
||||||
options.headers = true;
|
options.headers = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.syncing = false;
|
this.syncing = false;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user