From 9e43060d412697783140e396768fb0f1e0a2de15 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Wed, 1 Dec 2021 10:22:34 -0500 Subject: [PATCH] fee per name env var --- lbry/wallet/manager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lbry/wallet/manager.py b/lbry/wallet/manager.py index 5abdc1f44..d5b73aa21 100644 --- a/lbry/wallet/manager.py +++ b/lbry/wallet/manager.py @@ -194,6 +194,8 @@ class WalletManager: 'data_path': config.wallet_dir, 'tx_cache_size': config.transaction_cache_size } + if 'LBRY_FEE_PER_NAME_CHAR' in os.environ: + ledger_config['fee_per_name_char'] = int(os.environ.get('LBRY_FEE_PER_NAME_CHAR')) wallets_directory = os.path.join(config.wallet_dir, 'wallets') if not os.path.exists(wallets_directory):