Browse Source

remove expected panic in test

pull/441/head
Ethan Buchman 8 years ago
parent
commit
a1387c7c17
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      types/tx_test.go

+ 0
- 5
types/tx_test.go 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 {


Loading…
Cancel
Save