mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
internal/ethapi: remove unused fields
This commit is contained in:
parent
693618622f
commit
5fae08b74b
1 changed files with 8 additions and 11 deletions
|
|
@ -438,7 +438,6 @@ type testBackend struct {
|
||||||
chain *core.BlockChain
|
chain *core.BlockChain
|
||||||
accman *accounts.Manager
|
accman *accounts.Manager
|
||||||
acc accounts.Account
|
acc accounts.Account
|
||||||
generator func(i int, b *core.BlockGen)
|
|
||||||
|
|
||||||
pending *types.Block
|
pending *types.Block
|
||||||
pendingReceipts types.Receipts
|
pendingReceipts types.Receipts
|
||||||
|
|
@ -466,8 +465,6 @@ func newTestBackend(t *testing.T, n int, gspec *core.Genesis, engine consensus.E
|
||||||
chain: chain,
|
chain: chain,
|
||||||
accman: accman,
|
accman: accman,
|
||||||
acc: acc,
|
acc: acc,
|
||||||
generator: generator,
|
|
||||||
|
|
||||||
pending: blocks[n],
|
pending: blocks[n],
|
||||||
pendingReceipts: receipts[n],
|
pendingReceipts: receipts[n],
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue