Skip to content

Commit

Permalink
fixup! Implement on-the-fly funding
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bast committed Sep 23, 2024
1 parent 69014d2 commit 0c62d8d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions eclair-core/src/main/scala/fr/acinq/eclair/io/Peer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -520,8 +520,7 @@ class Peer(val nodeParams: NodeParams,
}
pendingOnTheFlyFunding = pendingOnTheFlyFunding.removedAll(expired.keys)
d match {
case Peer.Nothing => stay()
case d if d.channels.isEmpty && pendingOnTheFlyFunding.isEmpty => stopPeer()
case d: DisconnectedData if d.channels.isEmpty && pendingOnTheFlyFunding.isEmpty => stopPeer()
case _ => stay()
}

Expand Down

0 comments on commit 0c62d8d

Please sign in to comment.