From 50a77f3fae582ec094110c3c32c640fcd5fe25c2 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Wed, 2 Aug 2023 10:34:21 +0300 Subject: [PATCH] rpcclient: fix test after 0.101.4 merge Signed-off-by: Anna Shaleva --- pkg/rpcclient/wsclient_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/rpcclient/wsclient_test.go b/pkg/rpcclient/wsclient_test.go index 46f542eb3..7f3db1d27 100644 --- a/pkg/rpcclient/wsclient_test.go +++ b/pkg/rpcclient/wsclient_test.go @@ -37,10 +37,6 @@ func TestWSClientClose(t *testing.T) { bCh := make(chan *block.Block) _, err = wsc.ReceiveBlocks(nil, bCh) require.NoError(t, err) - wsc.getNextRequestID = getTestRequestID - bCh := make(chan *block.Block) - _, err = wsc.ReceiveBlocks(nil, bCh) - require.NoError(t, err) wsc.Close() // Subscriber channel must be closed by server. _, ok := <-bCh