mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-11 22:43:47 +00:00
fix: remove unused file
This commit is contained in:
parent
4cc6cde8c6
commit
17d1601eec
2 changed files with 8 additions and 8 deletions
Binary file not shown.
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue