code-423n4 / 2023-02-kuma-findings

2 stars 1 forks source link

Upgraded Q -> 2 from #7 [1677668529704] #35

Closed c4-judge closed 1 year ago

c4-judge commented 1 year ago

Judge has assessed an item in Issue #7 as 2 risk. The relevant finding follows:

L-01 changePayees() Suggest adding to check whether newPayees are duplicated to avoid _totalShares error

function changePayees(address[] calldata newPayees, uint256[] calldata newShares) external override onlyManager {

...

    for (uint256 i; i < newPayees.length; i++) {
c4-judge commented 1 year ago

GalloDaSballo marked the issue as duplicate of #13

c4-judge commented 1 year ago

GalloDaSballo marked the issue as satisfactory