-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix zero division error in
on_resolution
(#701)
* Fix zero division error in `on_resolution` * Update zrml/prediction-markets/src/tests.rs Co-authored-by: Harald Heckmann <mail@haraldheckmann.de> * Fix typo and future-proof the test * Update zrml/prediction-markets/src/lib.rs Co-authored-by: Chralt <chralt98@gmail.com> * Update zrml/prediction-markets/src/tests.rs Co-authored-by: Chralt <chralt98@gmail.com> * fix unused import Co-authored-by: Harald Heckmann <mail@haraldheckmann.de> Co-authored-by: Chralt <chralt98@gmail.com>
- Loading branch information
1 parent
61e1beb
commit 87264f8
Showing
2 changed files
with
74 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters