code-423n4 / 2021-09-wildcredit-findings

0 stars 0 forks source link

Initialize can be called multiple times!!!! #24

Closed code423n4 closed 3 years ago

code423n4 commented 3 years ago

Handle

pants

Vulnerability details

Initialize can be called multiple times. Initialize function must be called only by the contract owner and only once for safety.

https://github.com/code-423n4/2021-09-wildcredit/blob/main/contracts/LendingPair.sol line 74

talegift commented 3 years ago

Invalid. This contract cannot be reviewed in isolation.

LendingPair contracts are created in a single atomic transaction inside of the PairFactory which performs the initialization during the pair creation.

ghoul-sol commented 3 years ago

per sponsor comment, invalid