Commit cf7dbe81 authored by thiolliere's avatar thiolliere Committed by Gavin Wood
Browse files

Staking module: approximate fraction into perbill to avoid overflow (#2889)



* approximate fraction into perbill

* test

* fix comment

* line width

* bump impl version

* rename test for better naming

* test overflow

* Apply suggestions from code review

Co-Authored-By: default avatarNiklas Adolfsson <[email protected]>
parent e919d033
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment