fix(fd): use correct fn for getTotalElements
Fault detector was using L2OutputOracle.latestOutputIndex() to query the total number of outputs submitted, which was off by one. Correct function is L2OutputOracle.nextOutputIndex(). Caused crashes of the fault detector on startup if no outputs had been submitted to the L2OO yet.
Showing
Please register or sign in to comment