Skip to content

Commit

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

// RegisterHandlerForSettingsRequest will do nothing
func (di *dataIndexer) RegisterHandlerForSettingsRequest(_ func()) error {
func (di *dataIndexer) RegisterHandlerForSettingsRequest(_ func() error) 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
RegisterHandlerForSettingsRequest(handler func() error) error
SetCurrentSettings(cfg outport.OutportConfig) error
Close() error
IsInterfaceNil() bool
Expand Down

0 comments on commit c71e4c2

Please sign in to comment.