code-423n4 / 2021-06-tracer-findings

1 stars 0 forks source link

Unnecessary type conversions #118

Open code423n4 opened 3 years ago

code423n4 commented 3 years ago

Handle

tensors

Vulnerability details

Impact

Superfluous type conversions.

Proof of Concept

https://github.com/code-423n4/2021-06-tracer/blob/main/src/contracts/lib/LibBalances.sol#L229-L230 The type conversion here is not necessary.

Recommended Mitigation Steps

Remove the type conversion.