monitor: bugfixes in the revocation protocol