Branch: refs/heads/master
  Home:   https://github.com/conformal/btcd
  Commit: f1a4dfb86dc79098d04b88dceec46353fd27007b
      
https://github.com/conformal/btcd/commit/f1a4dfb86dc79098d04b88dceec46353fd27007b
  Author: Dave Collins <[email protected]>
  Date:   2014-03-20 (Thu, 20 Mar 2014)

  Changed paths:
    M blockmanager.go

  Log Message:
  -----------
  Update chain state with best block.

Rather than updating the new chain state with the hash and height of the
block that was just processed, query the database for the best block.
This is needed because the block that was just processed might be a side
chain block or have caused a reorg.


Reply via email to