Closed code423n4 closed 2 years ago
https://github.com/code-423n4/2022-07-swivel/blob/fd36ce96b46943026cb2dfcb76dfa3f884f51c18/Creator/VaultTracker.sol#L123
In VaultTracker.sol, at line 123 Instead of "maturityRate > 0", using "maturityRate != 0" will cost less in terms of gas.
Warden submitted multiple Gas Optimizations. Will not be judged.
https://github.com/code-423n4/2022-07-swivel/blob/fd36ce96b46943026cb2dfcb76dfa3f884f51c18/Creator/VaultTracker.sol#L123
In VaultTracker.sol, at line 123 Instead of "maturityRate > 0", using "maturityRate != 0" will cost less in terms of gas.