forked from LBRYCommunity/lbry-sdk
Merge pull request #3497 from lbryio/fee_per_name_env_var
fee per name env var
This commit is contained in:
commit
7f97013703
1 changed files with 2 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue