storage: Address review, no tok
This commit is contained in:
parent
12f9b2cefe
commit
ae17b765c0
@ -28,7 +28,7 @@ type eventsCalledAPI interface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type dealInfoAPI interface {
|
type dealInfoAPI interface {
|
||||||
GetCurrentDealInfo(ctx context.Context, tok types.TipSetKey, proposal *market.DealProposal, publishCid cid.Cid) (pipeline.CurrentDealInfo, error)
|
GetCurrentDealInfo(ctx context.Context, tsk types.TipSetKey, proposal *market.DealProposal, publishCid cid.Cid) (pipeline.CurrentDealInfo, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
type diffPreCommitsAPI interface {
|
type diffPreCommitsAPI interface {
|
||||||
|
@ -574,7 +574,7 @@ type mockDealInfoAPI struct {
|
|||||||
Err2 error
|
Err2 error
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *mockDealInfoAPI) GetCurrentDealInfo(ctx context.Context, tok types.TipSetKey, proposal *market.DealProposal, publishCid cid.Cid) (pipeline.CurrentDealInfo, error) {
|
func (m *mockDealInfoAPI) GetCurrentDealInfo(ctx context.Context, tsk types.TipSetKey, proposal *market.DealProposal, publishCid cid.Cid) (pipeline.CurrentDealInfo, error) {
|
||||||
m.count++
|
m.count++
|
||||||
if m.count == 2 {
|
if m.count == 2 {
|
||||||
return m.CurrentDealInfo2, m.Err2
|
return m.CurrentDealInfo2, m.Err2
|
||||||
|
Loading…
Reference in New Issue
Block a user