code-423n4 / 2021-09-yaxis-findings

0 stars 0 forks source link

setMinter should check that _minter is not empty #81

Open code423n4 opened 2 years ago

code423n4 commented 2 years ago

Handle

pauliax

Vulnerability details

Impact

function setMinter should validate that _minter is not an empty (0x0) address.

Recommended Mitigation Steps

require(_minter != address(0), "!_minter");

GalloDaSballo commented 2 years ago

Agree with finding, sponsor mitigated Non critical