no need to return error from DummyMsgIndex DI constructor
This commit is contained in:
parent
682eb90654
commit
cfeedc81e4
@ -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