Branch: refs/heads/master Home: https://github.com/btcsuite/btcd Commit: c20db1cf148ce3b06d6a97c24172d1d034995dbb https://github.com/btcsuite/btcd/commit/c20db1cf148ce3b06d6a97c24172d1d034995dbb Author: Chris Martin <ch.mar...@gmail.com> Date: 2016-09-16 (Fri, 16 Sep 2016)
Changed paths: M blockchain/scriptval_test.go Log Message: ----------- blockchain: make scriptval_test fail more nicely Return early when failing on len(blocks) > 1. Check for len(blocks) == 0 so we can fail on that condition with an error message instead of a panic.