Skip to content

tests/test_lottery.py:14: AssertionError #1506

Answered by praxis-dev
praxis-dev asked this question in Q&A
Discussion options

You must be logged in to vote
uint256 adjustedPrice = uint256(price) * 10 * 10**10; //18 decimals

There was a typo in the code - an unnecessary * 10
Problem solved

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cromewar
Comment options

Answer selected by praxis-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants