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

Wallet: In send select proofs needs to ensure proofs also match conditions #128

Closed
thesimplekid opened this issue May 13, 2024 · 1 comment · Fixed by #145
Closed

Wallet: In send select proofs needs to ensure proofs also match conditions #128

thesimplekid opened this issue May 13, 2024 · 1 comment · Fixed by #145
Assignees
Labels
enhancement New feature or request wallet
Milestone

Comments

@thesimplekid
Copy link
Collaborator

let send_proofs = match input_proofs
.iter()
.map(|p| p.amount)
.sum::<Amount>()
.eq(&amount)
{
true => Some(input_proofs),
false => {
self.swap(mint_url, unit, Some(amount), input_proofs, conditions)
.await?
}
};

@thesimplekid thesimplekid added bug Something isn't working wallet labels May 13, 2024
@thesimplekid thesimplekid added this to the V0.1.0 milestone May 13, 2024
@thesimplekid thesimplekid self-assigned this May 13, 2024
@thesimplekid thesimplekid removed the bug Something isn't working label May 14, 2024
@thesimplekid
Copy link
Collaborator Author

partially fixed by #129.

@thesimplekid thesimplekid added the enhancement New feature or request label May 14, 2024
@thesimplekid thesimplekid mentioned this issue May 21, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wallet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant