Skip to content

Commit 19e5538

Browse files
committed
Fix issues found by t-bast
Also added a function in `BaseRouterSpec` to add a second b-c channel for the batch splice test in `Routerspec`. The alternative to adding a 2nd b-c channel in `BaseRouterSpec` for all tests requires too many other tests to need updating.
1 parent 78bcf0d commit 19e5538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eclair-core/src/main/scala/fr/acinq/eclair/router/Validation.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ object Validation {
277277
val prunedChannels1 = d.prunedChannels -- shortChannelIds
278278
val lostNodes = lostChannels.flatMap(lostChannel => Seq(lostChannel.nodeId1, lostChannel.nodeId2).filterNot(nodeId => hasChannels(nodeId, channels1.values)))
279279
// let's clean the db and send the events
280-
log.info("pruning shortChannelIds={} (spent)", shortChannelIds)
280+
log.info("pruning shortChannelIds={} (spent)", shortChannelIds.mkString(","))
281281
shortChannelIds.foreach(db.removeChannel(_)) // NB: this also removes channel updates
282282
// we also need to remove updates from the graph
283283
val graphWithBalances1 = lostChannels.foldLeft(d.graphWithBalances) { (graph, lostChannel) =>

0 commit comments

Comments
 (0)