Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When there is no wallet, filter out priced deals from query responses #124

Open
rvagg opened this issue Sep 27, 2022 · 0 comments
Open

When there is no wallet, filter out priced deals from query responses #124

rvagg opened this issue Sep 27, 2022 · 0 comments
Assignees

Comments

@rvagg
Copy link
Collaborator

rvagg commented Sep 27, 2022

Currently they are just sorted lower, but if we can't pay then we shouldn't even attempt:

if a.UnsealPrice.IsZero() && !b.UnsealPrice.IsZero() {

Filclient will fail on these after trying to set up a payment channel and failing.

@rvagg rvagg self-assigned this Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant