Skip to content

Fix/streamonomics step zero#9

Open
Sukanto01899 wants to merge 2 commits intomarkcarey:mainfrom
Sukanto01899:fix/streamonomics-step-zero
Open

Fix/streamonomics step zero#9
Sukanto01899 wants to merge 2 commits intomarkcarey:mainfrom
Sukanto01899:fix/streamonomics-step-zero

Conversation

@Sukanto01899
Copy link

Adds validation in setStreamonomics to reject step == 0, which would otherwise cause an infinite loop in Dog._beforeTokenTransfer and revert mints/transfers. Includes a regression test in streamonomics.js that asserts the !step revert.

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.

1 participant