commonMain.fr.acinq.lightning.channel.states.Aborted.kt Maven / Gradle / Ivy
package fr.acinq.lightning.channel.states
import fr.acinq.lightning.channel.ChannelAction
import fr.acinq.lightning.channel.ChannelCommand
/**
* Channel has been aborted before it was funded (because we did not receive a FundingCreated or FundingSigned message for example)
*/
data object Aborted : ChannelState() {
override suspend fun ChannelContext.processInternal(cmd: ChannelCommand): Pair> {
return Pair(this@Aborted, listOf())
}
}