forked from LBRYCommunity/lbry-sdk
fee per name env var
This commit is contained in:
parent
11c3ea0b87
commit
9e43060d41
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