More tweaking of context handling in the messagepool

This commit is contained in:
Aayush Rajasekaran
2021-05-31 18:13:23 -04:00
parent 183c12db25
commit 9ceee6028b
9 changed files with 53 additions and 46 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ func (a *MpoolAPI) MpoolSelect(ctx context.Context, tsk types.TipSetKey, ticketQ
return nil, xerrors.Errorf("loading tipset %s: %w", tsk, err)
}
return a.Mpool.SelectMessages(ts, ticketQuality)
return a.Mpool.SelectMessages(ctx, ts, ticketQuality)
}
func (a *MpoolAPI) MpoolPending(ctx context.Context, tsk types.TipSetKey) ([]*types.SignedMessage, error) {