no need to return error from DummyMsgIndex DI constructor

This commit is contained in:
vyzo 2023-03-13 12:00:48 +02:00
parent a11032b10a
commit 3c945e9e3c

View File

@ -31,6 +31,6 @@ func MsgIndex(lc fx.Lifecycle, mctx helpers.MetricsCtx, cs *store.ChainStore, r
return msgIndex, nil
}
func DummyMsgIndex() (index.MsgIndex, error) {
return index.DummyMsgIndex, nil
func DummyMsgIndex() index.MsgIndex {
return index.DummyMsgIndex
}