dogecoin/dogecoin — pull request #748 by domob1812 (2014-11-21 10:23:50+00:00)
Title: Remove unreachable code.

The removed case (pcHead == script.end()) can never be reached, since we explicitly error out above if that is the case. It is legacy from Namecoin's merge-mining, which does not forbid this case earlier.

This is #743 rebased onto 1.8.1-dev, as requested.