From e4f45a16a6a812ad7aa7303413c891fdcae70783 Mon Sep 17 00:00:00 2001 From: Ihor Diachenko Date: Wed, 14 Oct 2026 19:12:17 +0300 Subject: [PATCH] signer: Restore commitment and revocation policy enforcement --- libs/gl-client/src/signer/mod.rs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/libs/gl-client/src/signer/mod.rs b/libs/gl-client/src/signer/mod.rs index 6ce2c7cc2..707ada9d9 100644 --- a/libs/gl-client/src/signer/mod.rs +++ b/libs/gl-client/src/signer/mod.rs @@ -272,7 +272,6 @@ impl Signer { rules: vec![ FilterRule::new_warn("policy-channel-safe-type-anchors"), FilterRule::new_warn("policy-routing-balanced"), - FilterRule::new_warn("policy-commitment-retry-same"), ], }); @@ -297,21 +296,6 @@ impl Signer { ], }); - // TODO: Remove once we found the desync issue - policy.filter.merge(PolicyFilter { - rules: vec![ - // "policy failure: get_per_commitment_secret: cannot - // revoke commitment_number 312 when - // next_holder_commit_num is 313" - FilterRule::new_warn("policy-revoke-new-commitment-signed"), - // "policy failure: get_current_holder_commitment_info: - // invalid next holder commitment number: 3974 != 3973" - // Triggered during force-close signing when tower - // committed the state advance but CLN didn't. - FilterRule::new_warn("policy-other"), - ], - }); - // Increase the invoices limit. Results in a larger state, but // bumping into this is rather annoying. policy.max_invoices = 10_000usize;