mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 10:50:44 +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
|
txRlps []rlp.RawValue
|
||||||
hashes []common.Hash
|
hashes []common.Hash
|
||||||
receipts []*types.Receipt
|
receipts []*types.Receipt
|
||||||
receiptsRlp rlp.RawValue
|
|
||||||
|
|
||||||
err error
|
err error
|
||||||
)
|
)
|
||||||
|
|
@ -190,11 +189,6 @@ func TestMessages(t *testing.T) {
|
||||||
}
|
}
|
||||||
miniDeriveFields(receipts[0], 0)
|
miniDeriveFields(receipts[0], 0)
|
||||||
miniDeriveFields(receipts[1], 1)
|
miniDeriveFields(receipts[1], 1)
|
||||||
rlpData, err := rlp.EncodeToBytes(receipts)
|
|
||||||
if err != nil {
|
|
||||||
t.Fatal(err)
|
|
||||||
}
|
|
||||||
receiptsRlp = rlpData
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for i, tc := range []struct {
|
for i, tc := range []struct {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue