Closed code423n4 closed 2 years ago
Agree with the finding but am not happy with the submission making an example without link Would like either a link, the submission being for only one finding, or the submission being a list of all instances
Duplicate of #43
Handle
pauliax
Vulnerability details
Impact
You should cache the results of external calls when done in the same function multiple times and the result is not supposed to change between these calls, e.g. function handleFees calls factory.ownerSplit() twice. It would be more gas efficient to store the results in a local variable and re-use where necessary.