Branch: refs/heads/master Home: https://github.com/btcsuite/btcd Commit: 712399c0db4441b2e4d159461a92fc90e8ad5fa6 https://github.com/btcsuite/btcd/commit/712399c0db4441b2e4d159461a92fc90e8ad5fa6 Author: Dave Collins <da...@conformal.com> Date: 2016-12-03 (Sat, 03 Dec 2016)
Changed paths: M blockchain/chainio.go M blockchain/thresholdstate.go M blockchain/versionbits.go Log Message: ----------- blockchain: Correct startup threshold state warns. The thresholdState and deploymentState functions expect the block node for the block prior to which the threshold state is calculated, however the startup code which checked the threshold states was using the current best node instead of its parent. While here, also update the comments and rename a couple of variables to help make this fact more clear.