mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
(deposit) bug fix - removed msg.value == _amt
This commit is contained in:
parent
0fd86b7e6d
commit
ff390f88fc
|
@ -96,7 +96,6 @@ contract BasicResolver is AaveHelpers {
|
|||
|
||||
uint ethAmt;
|
||||
if (token == getEthAddr()) {
|
||||
require(_amt == msg.value, "not-enought-eth");
|
||||
_amt = _amt == uint(-1) ? address(this).balance : _amt;
|
||||
ethAmt = _amt;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user