mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
added dsa check
This commit is contained in:
parent
ef50cf7188
commit
d2700b42e3
|
@ -395,6 +395,7 @@ abstract contract Euler is Helpers {
|
|||
payable
|
||||
returns (string memory _eventName, bytes memory _eventParam)
|
||||
{
|
||||
require(instaList.accountID(debtSender) != 0, "not-a-DSA");
|
||||
|
||||
bool isEth = token == ethAddr;
|
||||
address _token = isEth ? wethAddr : token;
|
||||
|
|
Loading…
Reference in New Issue
Block a user