Lucene search
+L

1 matches found

Code423n4
Code423n4
added 2022/09/08 12:00 a.m.9 views

blockTimestampLast not initialised to block.timestamp results in wrong calculations for reservesCumulative and totalSupplyCumulative in _update() function

Lines of code Vulnerability details Impact Default value of blockTimestampLast is 0 and affects the calculations done in the first call of update. observations would store the wrong value and affect subsequent calculations of price when a sample size that includes this wrong observation is taken...

6.7AI score
SaveExploits0
Rows per page
Query Builder