fix: remove unused file

This commit is contained in:
fearlessfe 2024-02-05 21:04:51 +08:00 committed by Chen Kai
parent 4cc6cde8c6
commit 17d1601eec
2 changed files with 8 additions and 8 deletions

Binary file not shown.

View file

@ -166,16 +166,16 @@ func TestOfferAndAcceptMessage(t *testing.T) {
// TODO test for accept // TODO test for accept
accept := &Accept{ // accept := &Accept{
ConnectionId: []byte{0x01, 0x02}, // ConnectionId: []byte{0x01, 0x02},
ContentKeys: []byte{1, 0, 0, 0, 0, 0, 0, 0}, // ContentKeys: []byte{1, 0, 0, 0, 0, 0, 0, 0},
} // }
expected = "0x0102060000000101" // expected = "0x0102060000000101"
data, err = accept.MarshalSSZ() // data, err = accept.MarshalSSZ()
assert.NoError(t, err) // assert.NoError(t, err)
assert.Equal(t, expected, fmt.Sprintf("0x%x", data)) // assert.Equal(t, expected, fmt.Sprintf("0x%x", data))
} }
func ReverseBytes(src []byte) []byte { func ReverseBytes(src []byte) []byte {