feat: remove FEE_RESERVE

This commit is contained in:
Eneko Illarramendi
2020-04-21 23:17:11 +02:00
parent 5806beaeb7
commit efb9deb028
4 changed files with 15 additions and 16 deletions
+3 -1
View File
@@ -1,6 +1,8 @@
import importlib
import os
from decimal import Decimal
wallets_module = importlib.import_module("lnbits.wallets")
wallet_class = getattr(wallets_module, os.getenv("LNBITS_BACKEND_WALLET_CLASS", "LntxbotWallet"))
@@ -10,4 +12,4 @@ LNBITS_DATA_FOLDER = os.getenv("LNBITS_DATA_FOLDER", os.path.join(LNBITS_PATH, "
WALLET = wallet_class()
DEFAULT_WALLET_NAME = os.getenv("LNBITS_DEFAULT_WALLET_NAME", "LNbits wallet")
FEE_RESERVE = float(os.getenv("LNBITS_FEE_RESERVE", 0))
SERVICE_FEE = Decimal(os.getenv("LNBITS_SERVICE_FEE", "0.0"))