commonMain.fr.acinq.lightning.channel.states.Aborted.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lightning-kmp-jvm Show documentation
Show all versions of lightning-kmp-jvm Show documentation
A Kotlin Multiplatform implementation of the Lightning Network
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())
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy