mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
Use correct token
This commit is contained in:
parent
e3589a1f72
commit
be564539a3
|
@ -1370,7 +1370,7 @@ contract RefinanceResolver is MakerHelpers {
|
|||
CTokenInterface cToken = CTokenInterface(_cToken);
|
||||
|
||||
borrowAmt = _compPaybackOne(cDai, dai, data.debt);
|
||||
depositAmt = _compWithdrawOne(cToken, TokenInterface(data.token), data.collateral);
|
||||
depositAmt = _compWithdrawOne(cToken, token, data.collateral);
|
||||
} else {
|
||||
revert("invalid-option");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user