neo-go/pkg/services/blockfetcher
Ekaterina Pavlova 3010324c4f services: fix defer function in retry of NeoFSBlockFetcher
Drain the channel only if it has pending events. This avoids trying to
read from an already-empty channel.

Close #3734

Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-12-08 00:04:14 +03:00
..
blockfetcher.go services: fix defer function in retry of NeoFSBlockFetcher 2024-12-08 00:04:14 +03:00
blockfetcher_test.go network: refactor return value from NeoFSBlockFetcher service 2024-11-29 13:37:50 +03:00