internal/ethapi: remove unused fields

This commit is contained in:
Gary Rong 2025-08-19 09:32:33 +08:00
parent 693618622f
commit 5fae08b74b

View file

@ -438,7 +438,6 @@ type testBackend struct {
chain *core.BlockChain
accman *accounts.Manager
acc accounts.Account
generator func(i int, b *core.BlockGen)
pending *types.Block
pendingReceipts types.Receipts
@ -466,8 +465,6 @@ func newTestBackend(t *testing.T, n int, gspec *core.Genesis, engine consensus.E
chain: chain,
accman: accman,
acc: acc,
generator: generator,
pending: blocks[n],
pendingReceipts: receipts[n],
}