Skip to content

Commit

Permalink
chaduke data for issue #79
Browse files Browse the repository at this point in the history
  • Loading branch information
code423n4 committed Dec 14, 2022
1 parent a178787 commit 5430dc2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions data/chaduke-G.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
G1. https://github.com/code-423n4/2022-12-forgeries/blob/fc271cf20c05ce857d967728edfb368c58881d85/src/VRFNFTRandomDraw.sol#L149-L156
These checks can be deleted to save gas since in Line 144, we have checked ``request.currentChainlinkRequestId != 0``, so if ``request.currentChainlinkRequestId == 0`` holds, then it means a new request is made, and there is no need to check other fields.

0 comments on commit 5430dc2

Please sign in to comment.