Submitted by robee, also found by 0x1f8b, csanuragjain, and Dravee
NestedRecords.sol#L117-L131
You push a parameter into an array of tokens without checking if it already exists. And, if at first its added with amount 0, it can later on be pushed with a greater amount and be twice in the array. Then in all processing it will consider the first occurrence and therefore the occurrence with amount 0.
maximebrugel (Nested Finance) disagreed with High severity and commented:
harleythedog (judge) decreased severity to Medium and commented:
