You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Despite WalletAdminLib’s changeOwner and addOwner functions checking that the incoming owner does not already exist, WalletMainLib does not perform such a check in its init function. A wallet with duplicate owners could result in unexpected behavior.
Consider using require(ownerIndex[_owners[i]] == 0) inside the loop that iterates through the incoming owner array.
The text was updated successfully, but these errors were encountered:
Despite WalletAdminLib’s changeOwner and addOwner functions checking that the incoming owner does not already exist, WalletMainLib does not perform such a check in its init function. A wallet with duplicate owners could result in unexpected behavior.
Consider using require(ownerIndex[_owners[i]] == 0) inside the loop that iterates through the incoming owner array.
The text was updated successfully, but these errors were encountered: