drop purgePending call.
This commit is contained in:
parent
14fa62f16f
commit
c572e61bbb
@ -1371,7 +1371,6 @@ Chain.prototype.add = function add(block, callback, force) {
|
|||||||
// reset the orphans.
|
// reset the orphans.
|
||||||
if (orphan.hash('hex') !== hash) {
|
if (orphan.hash('hex') !== hash) {
|
||||||
self.purgeOrphans();
|
self.purgeOrphans();
|
||||||
self.purgePending();
|
|
||||||
|
|
||||||
self.emit('fork', block, {
|
self.emit('fork', block, {
|
||||||
height: block.getCoinbaseHeight(),
|
height: block.getCoinbaseHeight(),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user