octez.js TypeDocs
    Preparing search index...

    Function resolveConfirmationLookBackLevels

    • Normalise a user-supplied confirmationLookBackLevels, falling back to DEFAULT_CONFIRMATION_LOOKBACK_LEVELS when it is absent or not a usable non-negative number. Shared by Operation and WalletOperation so the two confirmation loops cannot drift apart.

      Parameters

      • configured: number | undefined

      Returns number