From a92ee337b9fa962153b949a82a501ddb0cdd5f5f Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Sat, 14 Aug 2021 15:53:22 +0700 Subject: [PATCH] remove statusData from fetch --- txpool/fetch_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/txpool/fetch_test.go b/txpool/fetch_test.go index 957327bd9..d27391bd2 100644 --- a/txpool/fetch_test.go +++ b/txpool/fetch_test.go @@ -151,7 +151,8 @@ func TestOnNewBlock(t *testing.T) { } pool := &PoolMock{} fetch := NewFetch(ctx, nil, pool, stateChanges, db) - fetch.handleStateChanges(ctx, stateChanges) + err := fetch.handleStateChanges(ctx, stateChanges) + assert.NoError(t, err) assert.Equal(t, 1, len(pool.OnNewBlockCalls())) assert.Equal(t, 3, len(pool.OnNewBlockCalls()[0].MinedTxs.txs)) }