mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 05:11:37 +00:00
no lint no life
This commit is contained in:
parent
10337315a5
commit
e18f3a998d
1 changed files with 1 additions and 1 deletions
|
|
@ -422,7 +422,7 @@ func testGetBlockBodies(t *testing.T, protocol uint) {
|
||||||
{limit + 1, nil, nil, limit}, // No more than the possible block count should be returned
|
{limit + 1, nil, nil, limit}, // No more than the possible block count should be returned
|
||||||
{0, []common.Hash{backend.chain.Genesis().Hash()}, []bool{true}, 1}, // The genesis block should be retrievable
|
{0, []common.Hash{backend.chain.Genesis().Hash()}, []bool{true}, 1}, // The genesis block should be retrievable
|
||||||
{0, []common.Hash{backend.chain.CurrentBlock().Hash()}, []bool{true}, 1}, // The chains head block should be retrievable
|
{0, []common.Hash{backend.chain.CurrentBlock().Hash()}, []bool{true}, 1}, // The chains head block should be retrievable
|
||||||
{0, []common.Hash{{}}, []bool{false}, 0}, // A non existent block should not be returned
|
{0, []common.Hash{{}}, []bool{false}, 0}, // A non existent block should not be returned
|
||||||
|
|
||||||
// Existing blocks followed by a non-existing one should stop at the gap
|
// Existing blocks followed by a non-existing one should stop at the gap
|
||||||
{0, []common.Hash{
|
{0, []common.Hash{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue