[#1023] innerring/subnet: fix subnet removal event processing

Caught by `unused` linter.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
remotes/fyrchik/morph-wrappers
Evgenii Stratonikov 2022-01-29 16:35:28 +03:00 committed by Alex Vanin
parent a82ac0edcd
commit f96bb8d3b8
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ func (s *Server) handleSubnetCreation(e event.Event) {
// catchSubnetRemoval catches event of subnet removal from listener and queues the processing.
func (s *Server) catchSubnetRemoval(e event.Event) {
err := s.subnetHandler.workerPool.Submit(func() {
s.handleSubnetCreation(e)
s.handleSubnetRemoval(e)
})
if err != nil {
s.log.Error("subnet removal queue failure",