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

Fix test errors #10

Merged
merged 2 commits into from Mar 18, 2019
Merged

Fix test errors #10

merged 2 commits into from Mar 18, 2019

Conversation

conr2d
Copy link
Contributor

@conr2d conr2d commented Feb 12, 2019

The test for duplicate contract request in htlcERC20 raises assert due to no allowance of token for second contract instead of same contractId. This behavior differs from the intended negative test. Moreover, helper function newContractExpectFailure doesn't pass argument hashlock, so that test can't create the second contract identical to the first one.

Copy link
Owner

@chatch chatch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great thanks for this. apologies for the late reply.

@chatch chatch merged commit 54f01d8 into chatch:master Mar 18, 2019
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

Successfully merging this pull request may close these issues.

None yet

2 participants