neo-go/pkg
Anna Shaleva 65dbe85ec5 rpc: avoid panic during request after WS connection is closed
Fix the following panic:
```
panic: assignment to entry in nil map

goroutine 131 [running]:
github.com/nspcc-dev/neo-go/pkg/rpc/client.(*WSClient).registerRespChannel(0xc00033c240, 0x0, 0xc00003e2a0)
        /home/denis/go/pkg/mod/github.com/nspcc-dev/neo-go@v0.98.2/pkg/rpc/client/wsclient.go:244 +0x96
github.com/nspcc-dev/neo-go/pkg/rpc/client.(*WSClient).makeWsRequest(0xc00033c240, 0xc002080000)
        /home/denis/go/pkg/mod/github.com/nspcc-dev/neo-go@v0.98.2/pkg/rpc/client/wsclient.go:264 +0x69
github.com/nspcc-dev/neo-go/pkg/rpc/client.(*Client).performRequest(0xc00033c240, {0xc9f173, 0xd}, {{0x13d09d0, 0x0, 0x0}}, {0xb44120, 0xc00147a000})
        /home/denis/go/pkg/mod/github.com/nspcc-dev/neo-go@v0.98.2/pkg/rpc/client/client.go:186 +0x15d
github.com/nspcc-dev/neo-go/pkg/rpc/client.(*Client).GetBlockCount(0xc001fb5440)
        /home/denis/go/pkg/mod/github.com/nspcc-dev/neo-go@v0.98.2/pkg/rpc/client/rpc.go:73 +0x69
...
```
2022-04-27 10:53:29 +03:00
..
compiler core: support System.Runtime.GetAddressVersion syscall 2022-04-21 19:26:16 +03:00
config *: remove io/ioutil uses 2022-03-17 19:39:18 +03:00
consensus network: extend Service with Name, use it to distinguish services 2022-04-26 00:31:48 +03:00
core core: upgrade storage version 2022-04-22 18:38:05 +03:00
crypto core: drop GetStandBy* methods 2022-01-31 23:14:38 +03:00
encoding *: use internal variables for simple big.NewInt() values 2021-12-01 21:36:25 +03:00
interop core: support System.Runtime.GetAddressVersion syscall 2022-04-21 19:26:16 +03:00
io io: optimize WriteString, avoid allocation 2021-12-01 21:36:25 +03:00
neotest core: rebase core tests onto neotest 2022-03-30 19:00:53 +03:00
network network: fix panic in blockqueue during shutdown 2022-04-26 00:31:48 +03:00
rpc rpc: avoid panic during request after WS connection is closed 2022-04-27 10:53:29 +03:00
services network: extend Service with Name, use it to distinguish services 2022-04-26 00:31:48 +03:00
smartcontract smartcontract: remove unused ParameterFromStackItem 2022-04-01 08:38:35 +03:00
util util: allow to marshal Uint160 in YAML 2022-02-21 10:38:20 +03:00
vm vm: make byte representation of VMState compatible with C# 2022-04-04 13:52:29 +03:00
wallet *: remove io/ioutil uses 2022-03-17 19:39:18 +03:00