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

Check recipient in nettingchannel #602

Merged

Conversation

LefterisJP
Copy link
Contributor

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() and close() that makes sure the recipient of a message we try to close/update with is indeed the expected channel participant.

- 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.
czepluch
czepluch previously approved these changes May 18, 2017
Copy link
Contributor

@czepluch czepluch left a 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 !

@czepluch czepluch dismissed their stale review May 18, 2017 15:01

tests are passing.

@czepluch
Copy link
Contributor

tests are not passing *

@LefterisJP
Copy link
Contributor Author

@czepluch will have a look but don't dimiss the review unless you are available for a re-review when needed

@czepluch
Copy link
Contributor

I am here waiting for you ;)

Copy link
Contributor

@czepluch czepluch left a 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!

@LefterisJP LefterisJP merged commit c326818 into raiden-network:master May 18, 2017
@LefterisJP LefterisJP deleted the check_recipient_in_nettingchannel branch May 18, 2017 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants