fix ReorgOps incantation in events test
This commit is contained in:
parent
704904e2da
commit
e98bac367f
@ -87,7 +87,7 @@ func (fcs *fakeCS) ChainGetPath(ctx context.Context, from, to types.TipSetKey) (
|
|||||||
}
|
}
|
||||||
|
|
||||||
// copied from the chainstore
|
// copied from the chainstore
|
||||||
revert, apply, err := store.ReorgOps(ctx, func(tsk types.TipSetKey) (*types.TipSet, error) {
|
revert, apply, err := store.ReorgOps(ctx, func(ctx context.Context, tsk types.TipSetKey) (*types.TipSet, error) {
|
||||||
return fcs.ChainGetTipSet(ctx, tsk)
|
return fcs.ChainGetTipSet(ctx, tsk)
|
||||||
}, fromTs, toTs)
|
}, fromTs, toTs)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user