mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
removed auth check while withdrawing
This commit is contained in:
parent
52b7e1be41
commit
14982f7594
|
@ -63,7 +63,7 @@ contract BasicResolver is Stores {
|
|||
uint getId,
|
||||
uint setId
|
||||
) public payable {
|
||||
require(AccountInterface(address(this)).isAuth(to), "invalid-to-address");
|
||||
// require(AccountInterface(address(this)).isAuth(to), "invalid-to-address");
|
||||
uint amt = getUint(getId, tokenAmt);
|
||||
if (erc20 == getEthAddr()) {
|
||||
amt = amt == uint(-1) ? address(this).balance : amt;
|
||||
|
|
Loading…
Reference in New Issue
Block a user