All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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())
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy