Skip to content

Commit

Permalink
Merge pull request #228 from multiversx/update-interface
Browse files Browse the repository at this point in the history
Update interface
  • Loading branch information
miiu96 authored Jun 12, 2023
2 parents dd828c1 + f65a9be commit ea094dc
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 {
// 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
RegisterHandler(handler func() error, topic string) error
SetCurrentSettings(cfg outport.OutportConfig) error
Close() error
IsInterfaceNil() bool
Expand Down

0 comments on commit ea094dc

Please sign in to comment.