From c69ebd0a62f60c11a1b1e6a476349004c6e1ba07 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Thu, 25 Apr 2019 22:06:40 +0200 Subject: [PATCH] Fix canPerform method Even if the variable is not used and the linter might complain we have to have that parameter in the signature. otherwise the method is not found and can not be called. --- apps/contributor/contracts/Contributor.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/contributor/contracts/Contributor.sol b/apps/contributor/contracts/Contributor.sol index d108c29..ccaeb01 100644 --- a/apps/contributor/contracts/Contributor.sol +++ b/apps/contributor/contracts/Contributor.sol @@ -144,7 +144,7 @@ contract Contributor is AragonApp { exists = c.exists; } - function canPerform(address _who, address _where, bytes32 _what/*, uint256[] memory _how*/) public returns (bool) { + function canPerform(address _who, address _where, bytes32 _what, uint256[] memory _how) public returns (bool) { address sender = _who; if (sender == address(-1)) { sender = tx.origin; -- 2.25.1