Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve(SpokePoolClient): Drop unnecessary BN conversions (#747)
The deposit outputAmount is already a BigNumber, so there's no need to pass it through toBN(). This function is typically called repeatedly in a tight loop by the relayer so it makes sense to drop the inefficiency.
- Loading branch information