From a1387c7c179c15944030323b1e80112c9a46f034 Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Wed, 12 Apr 2017 18:45:37 -0400 Subject: [PATCH] remove expected panic in test --- types/tx_test.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/types/tx_test.go b/types/tx_test.go index aa20f7443..7688a9bf1 100644 --- a/types/tx_test.go +++ b/types/tx_test.go @@ -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 {