bitcoin/bitcoin — pull request #2031 by gavinandresen (2012-11-21 19:20:31+00:00)
Title: Add assert and comment for subtle pay-to-script-hash logic

From a question raised by @jgarzik as he re-reviewed the p2sh code.