remove expected panic in test

This commit is contained in:
Ethan Buchman 2017-04-12 18:45:37 -04:00
parent 705e7bd577
commit a1387c7c17
1 changed files with 0 additions and 5 deletions

View File

@ -108,11 +108,6 @@ func testTxProofUnchangable(t *testing.T) {
// this make sure the proof doesn't deserialize into something valid
func assertBadProof(t *testing.T, root []byte, bad []byte, good TxProof) {
// we kind of expect this to panic sometimes... (bad, go-wire, bad)
defer func() {
recover()
}()
var proof TxProof
err := wire.ReadBinaryBytes(bad, &proof)
if err == nil {