From 3d22beacbcefebd97899ef3eeb692296b306cf67 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Thu, 26 Oct 2023 11:27:56 +0200 Subject: [PATCH] signer: Increase the max_invoices limit to 10k Reported-by: @ok300 --- libs/gl-client/src/signer/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/gl-client/src/signer/mod.rs b/libs/gl-client/src/signer/mod.rs index 0ec754ef4..995638d51 100644 --- a/libs/gl-client/src/signer/mod.rs +++ b/libs/gl-client/src/signer/mod.rs @@ -108,6 +108,11 @@ impl Signer { FilterRule::new_warn("policy-routing-balanced"), ], }); + + // Increase the invoices limit. Results in a larger state, but + // bumping into this is rather annoying. + policy.max_invoices = 10_000usize; + // Relaxed max_routing_fee since we no longer have the // presplitter which was causing the HTLCs to be smaller. policy.max_routing_fee_msat = 1_000_000;