remove fee-credit feature

This commit is contained in:
pm47 2024-03-11 14:10:02 +01:00
parent d791179125
commit f843c0dcc2
No known key found for this signature in database
GPG Key ID: E434ED292E85643A
2 changed files with 5 additions and 13 deletions

View File

@ -65,7 +65,7 @@ kotlin {
sourceSets { sourceSets {
commonMain { commonMain {
dependencies { dependencies {
implementation("fr.acinq.lightning:lightning-kmp:1.6.2-SNAPSHOT") implementation("fr.acinq.lightning:lightning-kmp:1.6.2-FEECREDIT-SNAPSHOT")
// ktor serialization // ktor serialization
implementation(ktor("serialization-kotlinx-json")) implementation(ktor("serialization-kotlinx-json"))
// ktor server // ktor server

View File

@ -202,18 +202,10 @@ class Phoenixd : CliktCommand() {
) )
val keyManager = LocalKeyManager(seed, chain, lsp.swapInXpub) val keyManager = LocalKeyManager(seed, chain, lsp.swapInXpub)
val nodeParams = NodeParams(chain, loggerFactory, keyManager) val nodeParams = NodeParams(chain, loggerFactory, keyManager)
.run { .copy(
copy(
zeroConfPeers = setOf(lsp.walletParams.trampolineNode.id), zeroConfPeers = setOf(lsp.walletParams.trampolineNode.id),
liquidityPolicy = MutableStateFlow(liquidityPolicy), liquidityPolicy = MutableStateFlow(liquidityPolicy),
features = features.copy(
activated = buildMap {
putAll(features.activated)
put(Feature.FeeCredit, FeatureSupport.Optional)
}
) )
)
}
echo(cyan("nodeid: ${nodeParams.nodeId}")) echo(cyan("nodeid: ${nodeParams.nodeId}"))
val electrum = ElectrumClient(scope, loggerFactory) val electrum = ElectrumClient(scope, loggerFactory)