forked from LBRYCommunity/lbry-sdk
backporting fee per name env var
This commit is contained in:
parent
279a365cb1
commit
f5cd79391f
2 changed files with 4 additions and 1 deletions
|
@ -1,2 +1,2 @@
|
|||
__version__ = "0.101.1"
|
||||
__version__ = "0.101.2"
|
||||
version = tuple(map(int, __version__.split('.'))) # pylint: disable=invalid-name
|
||||
|
|
|
@ -191,6 +191,9 @@ 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…
Add table
Reference in a new issue