mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-20 11:46:44 +00:00
satisfy linter
This commit is contained in:
parent
5cd89898a4
commit
438e4c56ab
1 changed files with 4 additions and 4 deletions
|
|
@ -116,10 +116,10 @@ func TestEraE(t *testing.T) {
|
||||||
idx := tt.preMerge + i
|
idx := tt.preMerge + i
|
||||||
num := tt.start + uint64(idx)
|
num := tt.start + uint64(idx)
|
||||||
blk := blockData{
|
blk := blockData{
|
||||||
header: mustEncode(&types.Header{Number: big.NewInt(int64(num)), Difficulty: big.NewInt(0)}),
|
header: mustEncode(&types.Header{Number: big.NewInt(int64(num)), Difficulty: big.NewInt(0)}),
|
||||||
body: mustEncode(&types.Body{}),
|
body: mustEncode(&types.Body{}),
|
||||||
receipts: mustEncode([]types.ReceiptForStorage{}),
|
receipts: mustEncode([]types.ReceiptForStorage{}),
|
||||||
hash: common.Hash{byte(idx)},
|
hash: common.Hash{byte(idx)},
|
||||||
difficulty: big.NewInt(0),
|
difficulty: big.NewInt(0),
|
||||||
}
|
}
|
||||||
blocks = append(blocks, blk)
|
blocks = append(blocks, blk)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue