remove expected panic in test
This commit is contained in:
parent
705e7bd577
commit
a1387c7c17
|
@ -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…
Reference in New Issue