tokamak-network / ton-staking-v2

8 stars 3 forks source link

Wrong argument name in function setLayer2Manager #22

Closed parth-15 closed 3 months ago

parth-15 commented 3 months ago

Describe the bug The argument variable name in function setLayer2Manager is _layer2CandidateFactory which can be confusing and should be renamed to _layer2Manager.

https://github.com/tokamak-network/ton-staking-v2/blob/47253dc06d3f48a19820f88e3cb72c0a829bea2b/contracts/dao/DAOCommitteeAddV1_1.sol#L79-L81