From c71e4c2ca053c767b657b6dd2795e6d70deaaa27 Mon Sep 17 00:00:00 2001 From: Iuga Mihai Date: Mon, 12 Jun 2023 12:15:15 +0300 Subject: [PATCH] update interface --- process/dataindexer/dataIndexer.go | 2 +- process/dataindexer/interface.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/process/dataindexer/dataIndexer.go b/process/dataindexer/dataIndexer.go index 0e656a69..a7f0750e 100644 --- a/process/dataindexer/dataIndexer.go +++ b/process/dataindexer/dataIndexer.go @@ -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 } diff --git a/process/dataindexer/interface.go b/process/dataindexer/interface.go index 5bf8c86c..dd5def53 100644 --- a/process/dataindexer/interface.go +++ b/process/dataindexer/interface.go @@ -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