From 0c14913112c8c3dbceda7effa2f007d594be67b8 Mon Sep 17 00:00:00 2001 From: Martin Saposnic Date: Mon, 18 May 2026 14:40:13 -0300 Subject: [PATCH] chore: switch bitcoin-payment-instructions to moneydevkit fork Point at the `2025-12-ldk-node-base` branch (rev bc7d03f) of our fork, which includes a patch to accept LNURL-pay BOLT11 invoices that ship a plain `d` description tag instead of the LUD-06-required `h = sha256(metadata)` tag. Unblocks payouts to Bringin lightning addresses (e.g. vincenzopalazzo@bringin.xyz) and any other LNURL servers with the same non-compliance. See https://github.com/moneydevkit/bitcoin-payment-instructions/pull/2. Builds clean; verified live against vincenzopalazzo@bringin.xyz which previously failed with "BOLT 11 invoice resolved via LNURL must have a matching description hash" and now returns a valid invoice. Note: ldk-node still transitively pins rev 6796e87 of the same crate, so `cargo tree -d` shows two copies of bitcoin-payment-instructions until ldk-node is bumped in a follow-up. --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index e499b23..bc71ee5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,10 @@ crate-type = ["cdylib"] tikv-jemallocator = { version = "0.6", features = ["disable_initial_exec_tls"] } [dependencies] -bitcoin-payment-instructions = { version = "0.5.0", default-features = false, features = [ +# Branch: https://github.com/moneydevkit/bitcoin-payment-instructions/tree/2025-12-ldk-node-base +# Pinned to the same git rev as ldk-node's transitive pull to avoid duplicate +# crate compilation. Verify with `cargo tree -d | grep bitcoin-payment-instructions`. +bitcoin-payment-instructions = { git = "https://github.com/moneydevkit/bitcoin-payment-instructions", rev = "bc7d03f", default-features = false, features = [ "http", ] } # Branch: https://github.com/moneydevkit/ldk-node/commits/lsp-0.7.0_accept-underpaying-htlcs_with_timing_logs