Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Round up depositor fee calculation (#398)
Due to the incorrect rounding, unless the bridged amount is a multiple of the depositorFeeDivisor, a loss of 1 wei of fees will occur on every bridging attempt. Additionally, depositorFeeDivisor - 1 tokens can be bridged without any fees. To avoid that we round up the calculation.
- Loading branch information