Commit Graph

3 Commits

Author SHA1 Message Date
Oliver Gugger
fdf2b4ede2 challenger: report subscription errors on main chan
To make sure we can shutdown/restart aperture in case it loses its
connection to lnd, we need to report back any errors that happen in the
invoice subscription to the main error channel.
2020-09-23 10:12:07 +02:00
Oliver Gugger
e1269a7f86 aperture+challenger: add error channel to challenger
To make sure we can capture errors in the challenger's invoice
subscription, we hand the main error channel to the challenger so it can
report back errors on it.
2020-09-23 10:11:49 +02:00
Oliver Gugger
494ab47a60 challenger: add unit test 2020-08-11 10:08:45 +02:00