mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-21 14:14:30 +00:00
eth/protocols/eth: remove unused variable in test
This commit is contained in:
parent
bf3ff6481b
commit
c0ebb35b1e
1 changed files with 0 additions and 6 deletions
|
|
@ -121,7 +121,6 @@ func TestMessages(t *testing.T) {
|
|||
txRlps []rlp.RawValue
|
||||
hashes []common.Hash
|
||||
receipts []*types.Receipt
|
||||
receiptsRlp rlp.RawValue
|
||||
|
||||
err error
|
||||
)
|
||||
|
|
@ -190,11 +189,6 @@ func TestMessages(t *testing.T) {
|
|||
}
|
||||
miniDeriveFields(receipts[0], 0)
|
||||
miniDeriveFields(receipts[1], 1)
|
||||
rlpData, err := rlp.EncodeToBytes(receipts)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
receiptsRlp = rlpData
|
||||
}
|
||||
|
||||
for i, tc := range []struct {
|
||||
|
|
|
|||
Loading…
Reference in a new issue