From b3be3eebd0fd16f35dd961f57db12ebe34c9431a Mon Sep 17 00:00:00 2001 From: Ariel Barmat Date: Thu, 23 Dec 2021 14:31:17 -0300 Subject: [PATCH] Remove unnecessary payable from fallback --- contracts/GraphTokenLockWallet.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/GraphTokenLockWallet.sol b/contracts/GraphTokenLockWallet.sol index d8a1e1c..7b897cc 100644 --- a/contracts/GraphTokenLockWallet.sol +++ b/contracts/GraphTokenLockWallet.sol @@ -161,7 +161,7 @@ contract GraphTokenLockWallet is GraphTokenLock { * @notice Forward authorized contract calls to protocol contracts * @dev Fallback function can be called by the beneficiary only if function call is allowed */ - fallback() external payable { + fallback() external { // Only beneficiary can forward calls require(msg.sender == beneficiary, "Unauthorized caller");