LPToken.transferFrom()
emits Transfer
events when _from
equals _to
#71
Labels
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
bug
Something isn't working
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Handle
pants
Vulnerability details
The function
LPToken.transferFrom()
emitsTransfer
events when_from
equals_to
.Impact
There is no reason to emit these
Transfer
events because nothing has changed in the system. Such events are only going to confuse users.Tool Used
Manual code review.
Recommended Mitigation Steps
Emit these events only when
_from
doesn't equal_to
.The text was updated successfully, but these errors were encountered: