Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
miiu96 committed Jun 12, 2023
1 parent c71e4c2 commit f65a9be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions process/dataindexer/dataIndexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ func (di *dataIndexer) GetMarshaller() marshal.Marshalizer {
return di.headerMarshaller
}

// RegisterHandlerForSettingsRequest will do nothing
func (di *dataIndexer) RegisterHandlerForSettingsRequest(_ func() error) error {
// RegisterHandler will do nothing
func (di *dataIndexer) RegisterHandler(_ func() error, _ string) error {
return nil
}

Expand Down
2 changes: 1 addition & 1 deletion process/dataindexer/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ type Indexer interface {
SaveAccounts(accountsData *outport.Accounts) error
FinalizedBlock(finalizedBlock *outport.FinalizedBlock) error
GetMarshaller() marshal.Marshalizer
RegisterHandlerForSettingsRequest(handler func() error) error
RegisterHandler(handler func() error, topic string) error
SetCurrentSettings(cfg outport.OutportConfig) error
Close() error
IsInterfaceNil() bool
Expand Down

0 comments on commit f65a9be

Please sign in to comment.