Dependency configuration is being overwritten in laundrette::configureDependencies
by mistakenly using the same index for multiple dependencies. Specifically, the keycode of "MONEY" is overwritten by the keycode of "WEAPN".
The assignment to dependencies[0] is overwritten, resulting in only "WEAPN" being added to dependencies, resulting in only "WEAPN" being added to dependencies, while "MONEY" is not included at all. This misindexing leads to the omission of the "MONEY" dependency, causing the critical configuration for "MONEY" to be lost.
The omission of the "MONEY" dependency due to misindexing results in the loss of critical information necessary for the laundrette contract to function correctly. This can lead to unexpected behavior or failure in parts of the contract that rely on the "MONEY" dependency.
Manual Review
Correct the indexing in the configureDependencies function to ensure that both dependencies are included.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.