[#770] pkg/innerring: Fix commentary to bind functions
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
d252aa4a3e
commit
8d1f2e66e6
1 changed files with 2 additions and 4 deletions
|
@ -26,15 +26,13 @@ func connectListenerWithProcessor(l event.Listener, p ContractProcessor) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// bindMorphProcessor connects both morph chain listener handlers and
|
// bindMorphProcessor connects morph chain listener handlers.
|
||||||
// local timers handlers.
|
|
||||||
func bindMorphProcessor(proc ContractProcessor, s *Server) error {
|
func bindMorphProcessor(proc ContractProcessor, s *Server) error {
|
||||||
connectListenerWithProcessor(s.morphListener, proc)
|
connectListenerWithProcessor(s.morphListener, proc)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// bindMainnetProcessor connects both mainnet chain listener handlers and
|
// bindMainnetProcessor connects mainnet chain listener handlers.
|
||||||
// local timers handlers.
|
|
||||||
func bindMainnetProcessor(proc ContractProcessor, s *Server) error {
|
func bindMainnetProcessor(proc ContractProcessor, s *Server) error {
|
||||||
connectListenerWithProcessor(s.mainnetListener, proc)
|
connectListenerWithProcessor(s.mainnetListener, proc)
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Reference in a new issue