mirror of
https://github.com/cryptosharks131/lndg.git
synced 2026-08-13 12:33:04 +02:00
Change default lowliq_limit value to 15 (#438)
This commit is contained in:
parent
7f8dde005b
commit
bb51c33990
1 changed files with 2 additions and 2 deletions
4
af.py
4
af.py
|
|
@ -47,7 +47,7 @@ def main(channels):
|
|||
lowliq_limit = int(LocalSettings.objects.filter(key='AF-LowLiqLimit').get().value)
|
||||
else:
|
||||
LocalSettings(key='AF-LowLiqLimit', value='15').save()
|
||||
lowliq_limit = 5
|
||||
lowliq_limit = 15
|
||||
if LocalSettings.objects.filter(key='AF-ExcessLimit').exists():
|
||||
excess_limit = int(LocalSettings.objects.filter(key='AF-ExcessLimit').get().value)
|
||||
else:
|
||||
|
|
@ -232,4 +232,4 @@ def main(channels):
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
print(main(Channels.objects.filter(is_open=True))[['chan_id', 'local_fee_rate', 'new_rate', 'adjustment', 'local_inbound_fee_rate', 'new_inbound_rate', 'inbound_adjustment']])
|
||||
print(main(Channels.objects.filter(is_open=True))[['chan_id', 'local_fee_rate', 'new_rate', 'adjustment', 'local_inbound_fee_rate', 'new_inbound_rate', 'inbound_adjustment']])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue