aave / protocol-v2

Aave Protocol V2
https://aave.com
Other
662 stars 754 forks source link

Incorrect comment in LendingPool::swapBorrowRateMode #293

Open eulerbeat5 opened 2 years ago

eulerbeat5 commented 2 years ago

https://github.com/aave/protocol-v2/blob/61c2273a992f655c6d3e7d716a0c2f1b97a55a92/contracts/protocol/lendingpool/LendingPool.sol#L295

It should be The rate mode that the user wants to swap (from) I think.