Bitcoin Forum
September 10, 2024, 10:20:02 PM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Payment error when using Lightning  (Read 51 times)
Player552362 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
July 14, 2024, 01:19:51 PM
 #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!
Player552362 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
July 14, 2024, 01:34:12 PM
 #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?
BlackHatCoiner
Legendary
*
Offline Offline

Activity: 1638
Merit: 8101


Bitcoin is a royal fork


View Profile WWW
July 14, 2024, 04: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?

Player552362 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
July 14, 2024, 06: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?
nc50lc
Legendary
*
Offline Offline

Activity: 2534
Merit: 6070


Self-proclaimed Genius


View Profile
July 15, 2024, 08: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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Player552362 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
July 15, 2024, 01:45:14 PM
 #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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!