0 sats \ 3 replies \ @82e78180a1 27 Aug 2023 \ parent \ on: Zaplocker.com: a non-custodial lightning address server (no node needed!) bitcoin
Ok I tried paying with lnbits as suggested and indeed it apparently worked. But when trying to claim with an invoice generated by LND I get:
This is funny, but wrong I think, because the payment only expires in ~800 minutes.
Can you paste your invoice here? I wonder if its expiration time is longer than the expiry on the invoice that pays me. My server might be worried that you might wait for me to send you the money but not give me the preimage until my invoice expires, at which point I can no longer settle the one that pays me. It protects me from that by requiring that any invoice passed to me must have a shorter expiration time than what's leftover of the one that pays me. I can check if that's what happened if you paste the invoice here.
reply
Sure, here it is:
lnbc33460n1pjw4tnhpp5aujpg5lwf5pg57thzf3u2xd3s23qhgevnj9adxv8el7su5c06yuqdqqcqzzsxqyz5vqsp5a5l58jawk3dwx3dcarvk4z90ann4gq26a97xskw6w04z0zwck39s9qyyssqlfe42yrluuwrsq8r3gmj7qzhh3jt3d2n0qzj0ga43ss0l0pcfwt4z59r86c887299yssae675ktv86k4p533pk4pmsdjdsl6098xzmgp2qve98
reply
Well I guess that was the problem, the expiration time on that invoice is 24 hours. And for what I see from your other reply the invoice your server is generating is good for 100 blocks, or ~16.6 hours. Good thing your server is catching that!
But I think 24 hours must be the LND default invoice expiration time. Since LND is widely used and most apps don't let you set a pre-image for the invoice, you're likely to encounter this problem frequently unless you make it clearer in the user interface that a shorter expiration is required.
reply