checkLocalCommit

fun checkLocalCommit(commitments: Commitments, nextRemoteRevocationNumber: Long): Boolean

Tells whether or not their expected next remote commitment number matches with our data

Return

    - true if parties are in sync or remote is behind
    - false if we are behind