Skip to content

Commit

Permalink
blockchain: setBestChain jsdoc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Tyneway committed Jun 21, 2019
1 parent 4d69852 commit 5a4c491
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/blockchain/chain.js
Original file line number Diff line number Diff line change
Expand Up @@ -1612,10 +1612,8 @@ class Chain extends AsyncEmitter {
}

/**
* Set the best chain. This is called on every valid block
* that comes in. It may add and connect the block (main chain),
* save the block without connection (alternate chain), or
* reorganize the chain (a higher fork).
* Set the best chain. This is called on every incoming
* block with greater chainwork than the current tip.
* @private
* @param {ChainEntry} entry
* @param {Block} block
Expand Down

0 comments on commit 5a4c491

Please sign in to comment.