Skip to content

Commit

Permalink
fixup! Introduce a SwapInManager
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bast committed Jun 23, 2023
1 parent 73db384 commit df94840
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commonMain/kotlin/fr/acinq/lightning/io/Peer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,11 @@ class Peer(
logger.info { "restored ${channelIds.size} channels" }
launch {
val swapInManager = SwapInManager(bootChannels, logger)
// wait to have a swap-in feerate available
swapInFeeratesFlow.filterNotNull().first()
processSwapInCommands(swapInManager)
}
launch {
// wait to have a swap-in feerate available
swapInFeeratesFlow.filterNotNull().first()
watchSwapInWallet()
}
launch {
Expand Down

0 comments on commit df94840

Please sign in to comment.