code-423n4 / 2021-12-amun-findings

0 stars 0 forks source link

_referral is meaningless #258

Closed code423n4 closed 2 years ago

code423n4 commented 2 years ago

Handle

pauliax

Vulnerability details

Impact

_referral is not used in any meaningful way. Consider getting rid of it to reduce gas costs.

loki-sama commented 2 years ago

please link relevant code

0xleastwood commented 2 years ago

I think this is invalid. _referral is emitted in the PoolJoined/PoolExited events