In the UpliftOnlyExample::afterUpdate
function, when an NFT is transferred and the feeDataArray
is updated, the code uses block.number
for blockTimestampDeposit
.
The relevant code snippet shows the issue:
Replace block.number
with block.timestamp
in the blockTimestampDeposit
assignment:
Likelihood: Medium/High, any NFT transfer will change this variable. Impact: Informational/Very Low. This variable is unused and won’t impact anything, but the array is public and its getter will return a variable with inconsistencies.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.