[#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
|
||||
// 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
|
||||
|
|
Loading…
Reference in a new issue