Branch: refs/heads/master
  Home:   https://github.com/conformal/btcchain
  Commit: b7b9823f6cb9e790157ccdb2938f823b400c8a30
      
https://github.com/conformal/btcchain/commit/b7b9823f6cb9e790157ccdb2938f823b400c8a30
  Author: Dave Collins <[email protected]>
  Date:   2013-10-15 (Tue, 15 Oct 2013)

  Changed paths:
    M process.go

  Log Message:
  -----------
  Fix potential issue with dependent orphans.

This commit modifies the main processing loop for orphan dependencies
(orphans that are processed due to their parents showing up) to use an
index based for loop over range.  Since the Go range statement does not
reevaluate on every iteration, it was previously possible under certain
circumstances for the slice to be changed out from under the range
statement while processing the orphan blocks.



Reply via email to