From c6358d5f224cb2d381aa0c8af9bcedffa1cf5fe5 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Mon, 5 Feb 2018 15:19:23 +0100 Subject: Make setAllowances external --- packages/contracts/src/current/tutorials/Arbitrage/Arbitrage.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/contracts/src') diff --git a/packages/contracts/src/current/tutorials/Arbitrage/Arbitrage.sol b/packages/contracts/src/current/tutorials/Arbitrage/Arbitrage.sol index 3ee8b5fba..3ae2e92b8 100644 --- a/packages/contracts/src/current/tutorials/Arbitrage/Arbitrage.sol +++ b/packages/contracts/src/current/tutorials/Arbitrage/Arbitrage.sol @@ -19,7 +19,7 @@ contract Arbitrage is Ownable { proxyAddress = _proxyAddress; } - function setAllowances(address tokenAddress) public onlyOwner { + function setAllowances(address tokenAddress) external onlyOwner { Token token = Token(tokenAddress); token.approve(address(etherDelta), MAX_UINT); token.approve(proxyAddress, MAX_UINT); -- cgit