[#770] pkg/innerring: Fix commentary to bind functions

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2021-08-13 20:44:51 +03:00 committed by Pavel Karpy
parent d252aa4a3e
commit 8d1f2e66e6

View file

@ -26,15 +26,13 @@ func connectListenerWithProcessor(l event.Listener, p ContractProcessor) {
}
}
// bindMorphProcessor connects both morph chain listener handlers and
// local timers handlers.
// bindMorphProcessor connects morph chain listener handlers.
func bindMorphProcessor(proc ContractProcessor, s *Server) error {
connectListenerWithProcessor(s.morphListener, proc)
return nil
}
// bindMainnetProcessor connects both mainnet chain listener handlers and
// local timers handlers.
// bindMainnetProcessor connects mainnet chain listener handlers.
func bindMainnetProcessor(proc ContractProcessor, s *Server) error {
connectListenerWithProcessor(s.mainnetListener, proc)
return nil