Minor change in parameters.

This commit is contained in:
Sowmayjain 2019-06-01 22:26:16 +05:30
parent b396a4c4da
commit cd3fb604e1

View File

@ -59,23 +59,6 @@ contract Owners {
require(ownersCount > 0, "zero-owner-not-allowed");
}
function execute(
address _target,
bytes memory _data,
uint _src,
uint _session
) public payable onlyOwner
{
address walletAddress = RegistryInterface(registry).proxies(address(this));
UserWalletInterface(walletAddress).execute.value(msg.value)(
_target,
_data,
_src,
_session
);
}
}
@ -89,4 +72,20 @@ contract InstaAccess is Owners {
ownersCount++;
}
function execute(
address target,
bytes memory data,
uint src,
uint session
) public payable onlyOwner
{
address walletAddress = RegistryInterface(registry).proxies(address(this));
UserWalletInterface(walletAddress).execute.value(msg.value)(
target,
data,
src,
session
);
}
}