Fujicracy / fuji-v2

Cross-chain money market aggregator
https://fuji-v2-frontend.vercel.app
15 stars 10 forks source link

Q-4 Redundant code on L597 of BaseVault #490

Closed 0xdcota closed 1 year ago

0xdcota commented 1 year ago

[Q-4] Redundant code on L597 of BaseVault.sol

Description

BaseVault.sol
L596: function _beforeTokenTransfer(address from, address to, uint256 amount) internal view override {
L597: to; 
    ....

Consider removing this to; since it doesn't do anything.

0xdcota commented 1 year ago

This issue was open for record purposed only. It was closed previously in PR 402