Skip to content

Commit

Permalink
Update src/Conv.sol
Browse files Browse the repository at this point in the history
Co-authored-by: amusingaxl <[email protected]>
Signed-off-by: oddaf <[email protected]>
  • Loading branch information
oddaf and amusingaxl authored Feb 21, 2025
1 parent 991e692 commit 6cafe02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Conv.sol
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ contract Conv {
/// @param bps The basis points value to get the rate for
/// @return ray The annual rate value
function btor(uint256 bps) external view returns (uint256 ray) {
require(bps <= MAX);
require(bps <= MAX, "Conv/bps-too-high");

assembly {
let offset := mul(bps, 8) // Each rate is 8 bytes
Expand Down

0 comments on commit 6cafe02

Please sign in to comment.