no need to return error from DummyMsgIndex DI constructor
This commit is contained in:
parent
a11032b10a
commit
3c945e9e3c
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user