• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lightningnetwork / lnd / 2839
63%

Build:
DEFAULT BRANCH: master
Ran 04 Feb 2018 02:26AM UTC
Jobs 2
Files 109
Run time 53min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2839

push

travis-ci

Roasbeef
funding+htlcswitch: dynamically update short chan id of existing link

In this commit, we fix an existing bug that would result in some
payments getting “stuck”. This would happen if one side restarted
before the channel was fully locked in. In this case, since upon
re-connection, the link will get added to the switch with a *short
channel ID of zero*. If A then tries to make a multi-hop payment
through B, B will fail to forward the payment, as it’ll mistakenly
think that the payment originated from a local-subsystem as the channel
ID is zero. A short channel ID of zero is used to map local payments
back to their caller.

With fix this by allowing the funding manager to dynamically update the
short channel ID of a link after it discovers the short channel ID.

In this commit, we fix a second instance of reported “stuck” payments
by users.

76 of 76 new or added lines in 3 files covered. (100.0%)

16092 of 24656 relevant lines covered (65.27%)

45597.62 hits per line

Uncovered Changes

Lines Coverage ∆ File
40
100.0
htlcswitch/switch.go
19
100.0
htlcswitch/link.go
2
100.0
htlcswitch/mock.go
Jobs
ID Job ID Ran Files Coverage
1 2839.1 (RACE=false) 04 Feb 2018 02:26AM UTC 0
65.27
Travis Job 2839.1
3 2839.3 (RACE=false) 04 Feb 2018 03:19AM UTC 0
65.27
Travis Job 2839.3
Source Files on build 2839
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2839
  • 30dbbd69 on github
  • Prev Build on master (#2838)
  • Next Build on master (#2841)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc