This commit is contained in:
boufni95 2025-11-26 16:53:23 +00:00
parent 7e260af2d8
commit d2d22f81a1
2 changed files with 1 additions and 2 deletions

View file

@ -193,7 +193,6 @@ export default class {
case Types.UserOperationType.OUTGOING_TX: case Types.UserOperationType.OUTGOING_TX:
throw new Error("Sending a transaction is not supported") throw new Error("Sending a transaction is not supported")
case Types.UserOperationType.OUTGOING_INVOICE: case Types.UserOperationType.OUTGOING_INVOICE:
console.log("fee fixed limit", this.settings.getSettings().lndSettings.feeFixedLimit)
const fee = this.getInvoicePaymentServiceFee(amount, appUser) const fee = this.getInvoicePaymentServiceFee(amount, appUser)
return Math.max(fee, this.settings.getSettings().lndSettings.feeFixedLimit) return Math.max(fee, this.settings.getSettings().lndSettings.feeFixedLimit)
case Types.UserOperationType.OUTGOING_USER_TO_USER: case Types.UserOperationType.OUTGOING_USER_TO_USER:

View file

@ -5,7 +5,7 @@ DATABASE_FILE=db.sqlite
JWT_SECRET=bigsecrethere JWT_SECRET=bigsecrethere
ALLOW_BALANCE_MIGRATION=true ALLOW_BALANCE_MIGRATION=true
OUTBOUND_MAX_FEE_BPS=60 OUTBOUND_MAX_FEE_BPS=60
OUTBOUND_MAX_FEE_EXTRA_SATS=100 OUTBOUND_MAX_FEE_EXTRA_SATS=10
INCOMING_CHAIN_FEE_ROOT_BPS=0 INCOMING_CHAIN_FEE_ROOT_BPS=0
OUTGOING_CHAIN_FEE_ROOT_BPS=60 #this is applied only to withdrawls from application wallets OUTGOING_CHAIN_FEE_ROOT_BPS=60 #this is applied only to withdrawls from application wallets
INCOMING_INVOICE_FEE_ROOT_BPS=0 INCOMING_INVOICE_FEE_ROOT_BPS=0