Skip to content

Commit e5d412a

Browse files
ihordiachenkocdecker
authored andcommitted
signer: Restore commitment and revocation policy enforcement
1 parent 6eed32f commit e5d412a

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

  • libs/gl-client/src/signer

‎libs/gl-client/src/signer/mod.rs‎

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,6 @@ impl Signer {
272272
rules: vec![
273273
FilterRule::new_warn("policy-channel-safe-type-anchors"),
274274
FilterRule::new_warn("policy-routing-balanced"),
275-
FilterRule::new_warn("policy-commitment-retry-same"),
276275
],
277276
});
278277

@@ -297,21 +296,6 @@ impl Signer {
297296
],
298297
});
299298

300-
// TODO: Remove once we found the desync issue
301-
policy.filter.merge(PolicyFilter {
302-
rules: vec![
303-
// "policy failure: get_per_commitment_secret: cannot
304-
// revoke commitment_number 312 when
305-
// next_holder_commit_num is 313"
306-
FilterRule::new_warn("policy-revoke-new-commitment-signed"),
307-
// "policy failure: get_current_holder_commitment_info:
308-
// invalid next holder commitment number: 3974 != 3973"
309-
// Triggered during force-close signing when tower
310-
// committed the state advance but CLN didn't.
311-
FilterRule::new_warn("policy-other"),
312-
],
313-
});
314-
315299
// Increase the invoices limit. Results in a larger state, but
316300
// bumping into this is rather annoying.
317301
policy.max_invoices = 10_000usize;

0 commit comments

Comments
 (0)