Skip to content

Commit

Permalink
Report for issue #650 updated by carlitox477
Browse files Browse the repository at this point in the history
  • Loading branch information
code423n4 committed Jan 30, 2023
1 parent eb5b609 commit 1935115
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion data/carlitox477-G.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ This can be avoid by refactoring the code:
```

In the case of ```claim``` function in ```Quest``` contract, function ```isClaimed``` is called inside the loop, which make use of ```claimedList``` state variable. In order to save gas using a storage pointer, the loop should be refactored to:
claimedList[tokenId_] == true;

```diff
// Quest.claim
Expand Down

0 comments on commit 1935115

Please sign in to comment.