Author

Topic: Payment error when using Lightning (Read 40 times)

newbie
Activity: 4
Merit: 0
July 15, 2024, 09:45:14 AM
#6
Hi,

Yeah, I tried but it is still giving me error.

Great thanks for trying to help me anyway, really appreciate it. In the meantime I will be using a more noob-friendly app for lightning, I will maybe come back to Electrum on the future. 

Smiley
legendary
Activity: 2492
Merit: 5865
Self-proclaimed Genius
July 15, 2024, 04:01:47 AM
#5
I see, they havent found a solution in the post you mentioned, have they?
Yes they haven't, they will close all related issues once the main issue is solved.

But have you disabled "Use trampoline routing" config in "Tools->Preferences->Lightning"?
Can you try it with that option disabled but let Electrum sync to the lightning network (check lightning logo next to the network icon) before trying to send.
Don't forget to return the setting after trying since it's resource heavy.
newbie
Activity: 4
Merit: 0
July 14, 2024, 02:22:09 PM
#4
Yeah sorry, I missed a 0, the sending capacity is 0.01721446btc.

And no, there isnt any channels' UTXO worth 428,197 sats. I opened the channels and didnt make any transactions. So they are worth:
  • ACINQ 813,627 sats
  • trampoline hodlisterco 294,015 sats
  • ACINQ 951,551 btc

I see, they havent found a solution in the post you mentioned, have they?
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
July 14, 2024, 12:40:37 PM
#3
2 with ACINQ for around 0.018btc in total

1 with trampoline hodlisterco for around 0.003

I got a sending liquidity of 0.1721446btc
How's that possible? Your total sending capacity should be 0.018 + 0.003 = 0.0183.

What is this problem and how can I solve it?
Your client triggers the following line: https://github.com/spesmilo/electrum/blob/76f5d6ceb07b49e403f63488832fd6cb397ee91b/electrum/lnchannel.py#L995. The exact same issue has been posted in here: https://github.com/spesmilo/electrum/issues/8533.

May I ask, is there any of your channels' UTXO worth around 428,197 sat?
newbie
Activity: 4
Merit: 0
July 14, 2024, 09:34:12 AM
#2
I guess that there is a limit for how much I can send in one payment, if that is true, I could either:
  • divide the swap in 2
  • increase the size of one of the three channels
  • create a new channel

Am I right?
newbie
Activity: 4
Merit: 0
July 14, 2024, 09:19:51 AM
#1
Hi,

I created a wallet and opened 3 channels in lightning:

2 with ACINQ for around 0.018btc in total

1 with trampoline hodlisterco for around 0.003

I got a sending liquidity of 0.1721446btc (already discounting the btc blocked as exiting fee) and I wanted to do a swap in Boltz to increase my receiving capacity to be able to receive payments. However, when I try to pay the invoice for a 0.017 swap I get the next error:

Payment failed: HTLC value sum (sum of pending htlcs: 0.0 sat plus new htlc: 931010.684 sat) would exceed max allows 428197.0 sat

What is this problem and how can I solve it?

Thank you!
Jump to: