iteratePriceData() has a check for an unlikely scenario when CreatedNode/ModifiedNode for the Oracle
is not found in the inner loop.
if (prevChain == chain)
The check is correct but the assignment to prevChain is done inside the inner loop. It should be done right before the start of the inner loop instead.
iteratePriceData()
has a check for an unlikely scenario whenCreatedNode
/ModifiedNode
for the Oracle is not found in the inner loop.The check is correct but the assignment to
prevChain
is done inside the inner loop. It should be done right before the start of the inner loop instead.