-
Notifications
You must be signed in to change notification settings - Fork 379
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
Check recipient in nettingchannel #602
Check recipient in nettingchannel #602
Conversation
- Add (currenctly failing) tests for checking if the recipient of a messaged submitted via close() or updateTransfer() is actually a participant of the channel. - In some tests in test_close.py and test_updateTransfer the nonce was incorrectly specofied and the test was failing due to the nonce and not due to the expected failure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good. Thanks for the quick fix and short response time @LefterisJP !
tests are not passing * |
@czepluch will have a look but don't dimiss the review unless you are available for a re-review when needed |
I am here waiting for you ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once again - looks good. Thanks for fixing this!
Fix #601
Add tests for checking if the recipient of a
messaged submitted via close() or updateTransfer() is actually a
participant of the channel.
In some tests in test_close.py and test_updateTransfer the nonce was
incorrectly specofied and the test was failing due to the nonce and not
due to the expected failure.
Add a check in both
updateTransfer()
andclose()
that makes sure the recipient of a message we try to close/update with is indeed the expected channel participant.