mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-01 00:31:21 +00:00
remove statusData from fetch
This commit is contained in:
parent
a92ee337b9
commit
8c5c1bdc52
@ -152,7 +152,7 @@ func TestOnNewBlock(t *testing.T) {
|
||||
pool := &PoolMock{}
|
||||
fetch := NewFetch(ctx, nil, pool, stateChanges, db)
|
||||
err := fetch.handleStateChanges(ctx, stateChanges)
|
||||
assert.NoError(t, err)
|
||||
assert.ErrorIs(t, io.EOF, err)
|
||||
assert.Equal(t, 1, len(pool.OnNewBlockCalls()))
|
||||
assert.Equal(t, 3, len(pool.OnNewBlockCalls()[0].MinedTxs.txs))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user