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

Skip distribution if refund fails to send on channel closure #1396

Closed
3 tasks
colin-axner opened this issue May 18, 2022 · 0 comments · Fixed by #1523
Closed
3 tasks

Skip distribution if refund fails to send on channel closure #1396

colin-axner opened this issue May 18, 2022 · 0 comments · Fixed by #1523
Assignees
Labels

Comments

@colin-axner
Copy link
Contributor

Summary

This comment is incorrect. SendCoinsFromModuleToAccount can be used to send to module account addresses.

We should change SendCoins to be SendCoinsFromModuleToAccount and remove the IsBlocked check. If an error occurs, I think we should continue in the for loop and skip distribution of that address. Otherwise we block closing a channel on a faulty refund address.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged/assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants