remove fee-credit feature
This commit is contained in:
parent
d791179125
commit
f843c0dcc2
@ -65,7 +65,7 @@ kotlin {
|
||||
sourceSets {
|
||||
commonMain {
|
||||
dependencies {
|
||||
implementation("fr.acinq.lightning:lightning-kmp:1.6.2-SNAPSHOT")
|
||||
implementation("fr.acinq.lightning:lightning-kmp:1.6.2-FEECREDIT-SNAPSHOT")
|
||||
// ktor serialization
|
||||
implementation(ktor("serialization-kotlinx-json"))
|
||||
// ktor server
|
||||
|
@ -202,18 +202,10 @@ class Phoenixd : CliktCommand() {
|
||||
)
|
||||
val keyManager = LocalKeyManager(seed, chain, lsp.swapInXpub)
|
||||
val nodeParams = NodeParams(chain, loggerFactory, keyManager)
|
||||
.run {
|
||||
copy(
|
||||
zeroConfPeers = setOf(lsp.walletParams.trampolineNode.id),
|
||||
liquidityPolicy = MutableStateFlow(liquidityPolicy),
|
||||
features = features.copy(
|
||||
activated = buildMap {
|
||||
putAll(features.activated)
|
||||
put(Feature.FeeCredit, FeatureSupport.Optional)
|
||||
}
|
||||
)
|
||||
)
|
||||
}
|
||||
.copy(
|
||||
zeroConfPeers = setOf(lsp.walletParams.trampolineNode.id),
|
||||
liquidityPolicy = MutableStateFlow(liquidityPolicy),
|
||||
)
|
||||
echo(cyan("nodeid: ${nodeParams.nodeId}"))
|
||||
|
||||
val electrum = ElectrumClient(scope, loggerFactory)
|
||||
|
Loading…
x
Reference in New Issue
Block a user