mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Fixes PVE002
This commit is contained in:
parent
a4468c0a97
commit
e0f5c5fb7f
|
@ -54,7 +54,7 @@ library WadRayMath {
|
||||||
* @return the result of a*b, in wad
|
* @return the result of a*b, in wad
|
||||||
**/
|
**/
|
||||||
function wadMul(uint256 a, uint256 b) internal pure returns (uint256) {
|
function wadMul(uint256 a, uint256 b) internal pure returns (uint256) {
|
||||||
if (a == 0) {
|
if (a == 0 || b == 0) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user