From 3156132cd1d1c6e2c6b4905e4e604fda945a1f9a Mon Sep 17 00:00:00 2001 From: wojo Date: Tue, 10 Dec 2024 10:44:13 +0100 Subject: [PATCH] asd --- rpc/transaction_test.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/rpc/transaction_test.go b/rpc/transaction_test.go index 3ec558bec..8de3400ee 100644 --- a/rpc/transaction_test.go +++ b/rpc/transaction_test.go @@ -1281,17 +1281,6 @@ func TestTransactionStatus(t *testing.T) { require.NotNil(t, err) require.Equal(t, err, rpc.ErrTxnHashNotFound) }) - - t.Run("not received", func(t *testing.T) { - mockReader := mocks.NewMockReader(mockCtrl) - notReceivedHash := test.notFoundTxHash - - mockReader.EXPECT().TransactionByHash(notReceivedHash).Return(nil, db.ErrKeyNotFound) - - handler := rpc.New(mockReader, nil, nil, "", log).WithFeeder(client) - _, err := handler.TransactionStatus(ctx, *notReceivedHash) - require.Equal(t, rpc.ErrTxnHashNotFound, err) - }) }) } }