Open code423n4 opened 2 years ago
WatchPug
https://github.com/code-423n4/2021-09-wildcredit/blob/main/contracts/LendingPair.sol#L263
The error message "LendingPair: cannot deposit borrowed token" can be changed to "LendingPair: receiver has unpaid debt".
Handle
WatchPug
Vulnerability details
https://github.com/code-423n4/2021-09-wildcredit/blob/main/contracts/LendingPair.sol#L263
The error message "LendingPair: cannot deposit borrowed token" can be changed to "LendingPair: receiver has unpaid debt".