Cherry-pick changes from feat/dev-utils/dydx-bridge-validation
This commit is contained in:
@@ -345,7 +345,7 @@ library LibFixedMath {
|
||||
|
||||
/// @dev Returns the multiplication two numbers, reverting on overflow.
|
||||
function _mul(int256 a, int256 b) private pure returns (int256 c) {
|
||||
if (a == 0) {
|
||||
if (a == 0 || b == 0) {
|
||||
return 0;
|
||||
}
|
||||
c = a * b;
|
||||
|
Reference in New Issue
Block a user