Fixes PVE002

This commit is contained in:
emilio 2020-10-19 15:29:42 +02:00
parent a4468c0a97
commit e0f5c5fb7f

View File

@ -54,7 +54,7 @@ library WadRayMath {
* @return the result of a*b, in wad
**/
function wadMul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
if (a == 0 || b == 0) {
return 0;
}