Skip to content

Commit 66d6e5e

Browse files
committed
refactor: use curator variable instead of msg.sender
1 parent 396d06b commit 66d6e5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/discovery/GNS.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ contract GNS is GNSV2Storage, GraphUpgradeable, IGNS, Multicall {
376376

377377
// Pull tokens from sender
378378
address curator = msg.sender;
379-
TokenUtils.pullTokens(graphToken(), msg.sender, _tokensIn);
379+
TokenUtils.pullTokens(graphToken(), curator, _tokensIn);
380380

381381
// Get name signal to mint for tokens deposited
382382
(uint256 vSignal, ) = curation().mint(subgraphData.subgraphDeploymentID, _tokensIn, 0);

0 commit comments

Comments
 (0)