mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 19:29:39 +00:00
rpcclient: fix test after 0.101.4 merge
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
parent
7e867aefc4
commit
50a77f3fae
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue