checkRemoteCommit

fun checkRemoteCommit(commitments: Commitments, nextLocalCommitmentNumber: Long): Boolean

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

Return

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