[#373] innerring: Listen sidechain blocks for internal timer

Updated neo-go fixed bug in listener, so we can use sidechain
for block timer as it planned.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-02-09 14:18:14 +03:00 committed by Alex Vanin
parent d7bd312abd
commit bd420b6002

View file

@ -145,8 +145,7 @@ func (s *Server) Start(ctx context.Context, intError chan<- error) error {
}
}()
// BUG: https://github.com/nspcc-dev/neofs-node/issues/346
s.mainnetListener.RegisterBlockHandler(func(b *block.Block) {
s.morphListener.RegisterBlockHandler(func(b *block.Block) {
s.log.Debug("new block",
zap.Uint32("index", b.Index),
)