lnd/htlcswitch
Olaoluwa Osuntokun ddd12eff9c
htlcswitch: move link trimming to link start up
In this commit, we fix a race in the set of TestChannelLinkTrimCircuits*
tests. Before this commit, we would trim the circuits in the htlcManager
goroutine. However, this was problematic as the scheduling order of
goroutines isn't predictable. Instead, we'll now trim the circuits in
the Start method.

Additionally, we fix a series of off-by-2 bugs in the tests themselves.
2018-05-03 20:11:52 -07:00
..
2018-04-17 19:03:27 -07:00
2018-04-17 19:02:04 -07:00
2018-04-25 09:37:25 +02:00
2018-04-17 19:02:04 -07:00