code-423n4 / 2021-04-vader-findings

1 stars 0 forks source link

repayDelay is not used anywhere #308

Closed code423n4 closed 3 years ago

code423n4 commented 3 years ago

Handle

paulius.eth

Vulnerability details

Impact

contract Router has declared a variable: uint public repayDelay = 3600; However, it is not used anywhere. I expected to see it somewhere in functions related to repaying. Is this a forgotten or just an unused variable?

0xBrian commented 3 years ago

https://github.com/vetherasset/vaderprotocol-contracts/commit/f6b6a369f64e5ade0b7511d397d708a9a0916178

dmvt commented 3 years ago

duplicate of #304