Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
Review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
fasmat committed May 3, 2024
1 parent ed9692f commit eee8777
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions malfeasance/wire/malfeasance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,14 +261,12 @@ func TestCodec_InvalidPrevATX(t *testing.T) {

var decoded wire.MalfeasanceProof
require.NoError(t, codec.Decode(encoded, &decoded))
// require.NoError(t, decoded.Proof.Data.(*wire.InvalidPrevATXProof).Atx1.Initialize())
// require.NoError(t, decoded.Proof.Data.(*wire.InvalidPrevATXProof).Atx2.Initialize())
require.Equal(t, *proof, decoded)
}

func FuzzProofConsistency(f *testing.F) {
tester.FuzzConsistency[wire.Proof](f, func(p *wire.Proof, c fuzz.Continue) {
switch c.Intn(3) {
switch c.Intn(5) {
case 0:
p.Type = wire.MultipleATXs
data := wire.AtxProof{}
Expand Down

0 comments on commit eee8777

Please sign in to comment.