flashFeeFactor is uninitialized at declaration and so zero initially until set by setFlashFeeFactor(). As indicated in one of the explainer videos, the idea is to default to uint256.max to disable flash loans by default.
Currently, flash loans are enabled by default with a zero flash fee unless changed by setFlashFeeFactor().
Recommend Initializing at declaration with a reasonable value which could be uint256.max to disable flash loans by default.
albertocuestacanada (Yield) confirmed:
