Skip to content

Commit

Permalink
remove redundant assert
Browse files Browse the repository at this point in the history
  • Loading branch information
sisyphusSmiling committed Apr 30, 2024
1 parent 2088ab0 commit 6988021
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cadence/contracts/bridge/FlowEVMBridgeUtils.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,6 @@ contract FlowEVMBridgeUtils {
let fractionalMultiplier = self.ufixPow(base: 0.1, exponent: decimals - e - fractionalReduction)
let scaledFractional = UFix64(fractional) * fractionalMultiplier

assert(scaledFractional < 1.0, message: "Scaled fractional exceeds 1.0")
return scaledFractional
}

Expand Down

0 comments on commit 6988021

Please sign in to comment.