From 66d6e5ee82769e2b32d94d2cd8a4a03072fcf25a Mon Sep 17 00:00:00 2001 From: Ariel Barmat Date: Sat, 30 Oct 2021 01:18:53 +0100 Subject: [PATCH] refactor: use curator variable instead of msg.sender --- contracts/discovery/GNS.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/discovery/GNS.sol b/contracts/discovery/GNS.sol index b5527e685..b8e8d4531 100644 --- a/contracts/discovery/GNS.sol +++ b/contracts/discovery/GNS.sol @@ -376,7 +376,7 @@ contract GNS is GNSV2Storage, GraphUpgradeable, IGNS, Multicall { // Pull tokens from sender address curator = msg.sender; - TokenUtils.pullTokens(graphToken(), msg.sender, _tokensIn); + TokenUtils.pullTokens(graphToken(), curator, _tokensIn); // Get name signal to mint for tokens deposited (uint256 vSignal, ) = curation().mint(subgraphData.subgraphDeploymentID, _tokensIn, 0);